Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr committed Feb 10, 2020
1 parent b0a9bbb commit a0a61de
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ inThisBuild(
licenses := List(
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
),
scalaVersion := mainScala,
parallelExecution in Test := false,
pgpPassphrase := sys.env.get("PGP_PASSWORD").map(_.toArray),
pgpPublicRing := file("/tmp/public.asc"),
Expand All @@ -29,8 +28,7 @@ inThisBuild(
"[email protected]",
url("https://github.com/ghostdogpr")
)
),
crossScalaVersions := allScala
)
)
)

Expand Down Expand Up @@ -83,12 +81,13 @@ lazy val codegen = project
.settings(commonSettings)
.settings(
sbtPlugin := true,
crossScalaVersions := Seq("2.12.10"),
testFrameworks := Seq(new TestFramework("zio.test.sbt.ZTestFramework")),
libraryDependencies ++= Seq(
"org.scalameta" %%% "scalafmt-dynamic" % "2.3.2",
"org.scalameta" %%% "scalafmt-core" % "2.3.2",
"dev.zio" %%% "zio-test" % "1.0.0-RC17" % "test",
"dev.zio" %%% "zio-test-sbt" % "1.0.0-RC17" % "test"
"org.scalameta" %% "scalafmt-dynamic" % "2.3.2",
"org.scalameta" %% "scalafmt-core" % "2.3.2",
"dev.zio" %% "zio-test" % "1.0.0-RC17" % "test",
"dev.zio" %% "zio-test-sbt" % "1.0.0-RC17" % "test"
)
)
.dependsOn(coreJVM)
Expand Down Expand Up @@ -168,6 +167,8 @@ lazy val benchmarks = project
)

val commonSettings = Def.settings(
scalaVersion := mainScala,
crossScalaVersions := allScala,
scalacOptions ++= Seq(
"-deprecation",
"-encoding",
Expand Down

0 comments on commit a0a61de

Please sign in to comment.