Skip to content

Commit

Permalink
Fix deprecation warnings related to sbt 1.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jad-hamza committed Aug 27, 2021
1 parent b001450 commit 7343116
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ lazy val `stainless-scalac-plugin` = (project in file("frontends") / "stainless-
.settings(
name := "stainless-scalac-plugin",
crossVersion := CrossVersion.full, // because compiler api is not binary compatible
Compile / packageBin := (assembly in (`stainless-scalac`, Compile)).value
Compile / packageBin := (`stainless-scalac` / Compile / assembly).value
)

lazy val `stainless-scalac-standalone` = (project in file("frontends") / "stainless-scalac-standalone")
Expand All @@ -311,9 +311,9 @@ lazy val `stainless-scalac-standalone` = (project in file("frontends") / "stainl
.settings(
name := "stainless-scalac-standalone",
buildInfoKeys ++= Seq[BuildInfoKey]("useJavaClassPath" -> true),
(assembly / mainClass) := Some("stainless.Main"),
(assembly / assemblyJarName) := (name.value + "-" + version.value + ".jar"),
(unmanagedJars in Runtime) := (unmanagedJars in (`stainless-scalac`, Runtime)).value
assembly / mainClass := Some("stainless.Main"),
assembly / assemblyJarName := (name.value + "-" + version.value + ".jar"),
Runtime / unmanagedJars := (`stainless-scalac` / Runtime / unmanagedJars).value
)
.dependsOn(`stainless-scalac`)

Expand Down

0 comments on commit 7343116

Please sign in to comment.