diff --git a/build.sbt b/build.sbt index f97001e..76e5bbe 100644 --- a/build.sbt +++ b/build.sbt @@ -1,9 +1,25 @@ name := """sbt-javacv""" -version := "1.15-SNAPSHOT" +version := "1.15" organization := "org.bytedeco" +scalaVersion := "2.12.3" + +sbtVersion in Global := { + if (scalaVersion.value.startsWith("2.12")) + "1.0.2" + else + "0.13.16" +} + +crossSbtVersions := Vector("0.13.16", "1.0.2") + +scalaCompilerBridgeSource := { + val sv = appConfiguration.value.provider.id.version + ("org.scala-sbt" % "compiler-interface" % sv % "component").sources +} + sbtPlugin := true publishMavenStyle := true @@ -49,4 +65,4 @@ resolvers ++= Seq( Resolver.sonatypeRepo("snapshots") ) -addSbtPlugin("org.bytedeco" % "sbt-javacpp" % "1.10") \ No newline at end of file +addSbtPlugin("org.bytedeco" % "sbt-javacpp" % "1.11") \ No newline at end of file diff --git a/project/build.properties b/project/build.properties index 27e88aa..406a7d2 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=0.13.13 +sbt.version=0.13.16 \ No newline at end of file