File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
scala-core-modules/scala-core-8/src/main/scala/com/baeldung/scala/builderpattern Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ lazy val scala_core_8 = (project in file("scala-core-modules/scala-core-8"))
101
101
.settings(
102
102
name := " scala-core-8" ,
103
103
libraryDependencies ++= scalaTestDeps,
104
+ scalaVersion := scala3Version,
104
105
libraryDependencies += " org.scala-lang.modules" %% " scala-java8-compat" % " 1.0.2" ,
105
106
libraryDependencies += " com.typesafe" % " config" % " 1.2.1"
106
107
// scalacOptions += "-Ymacro-debug-lite"
Original file line number Diff line number Diff line change @@ -31,3 +31,6 @@ case class GuitarBuilder private (
31
31
delay = delay
32
32
)
33
33
}
34
+ object GuitarBuilder {
35
+ def apply (): GuitarBuilder = new GuitarBuilder ()
36
+ }
You can’t perform that action at this time.
0 commit comments