Skip to content

Commit

Permalink
Remove cross-build, it's no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Olafur Pall Geirsson committed Sep 13, 2020
1 parent 0ff71ef commit 792c0f6
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
def scala212 = "2.12.12"
inThisBuild(
List(
organization := "org.scalameta",
Expand All @@ -13,30 +14,20 @@ inThisBuild(
url("https://geirsson.com")
)
),
scalaVersion := scala213
scalaVersion := scala212,
crossScalaVersions := List(scala212)
)
)

def scala212 = "2.12.12"
def scala213 = "2.13.3"
def scalaVersions = List(scala212, scala213)
lazy val svmVersion = Def.setting {
dynverGitDescribeOutput.value.get.previousVersion
// previousStableVersion.value.getOrElse {
// sys.error("missing git tag. To fix this problem, run: git fetch --tags")
// "20.1.0"
// }
}

crossScalaVersions := Nil
skip in publish := true

lazy val subs = project
.in(file("svm-subs"))
.settings(
moduleName := "svm-subs",
crossScalaVersions := scalaVersions,
libraryDependencies += "org.graalvm.nativeimage" % "svm" % svmVersion.value % "compile-internal",
crossVersion := CrossVersion.disabled,
libraryDependencies += "org.graalvm.nativeimage" % "svm" % "20.2.0" % "compile-internal",
sources in (Compile, doc) := Seq.empty,
javaHome in Compile := {
// force javac to fork by setting javaHome to workaround https://github.com/sbt/zinc/issues/520
Expand Down

0 comments on commit 792c0f6

Please sign in to comment.