-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.sbt
40 lines (33 loc) · 1.04 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
inThisBuild(List(
organization := "io.get-coursier",
homepage := Some(url("https://github.com/coursier/sbt-coursier")),
licenses := Seq("Apache 2.0" -> url("http://opensource.org/licenses/Apache-2.0")),
developers := List(
Developer(
"alexarchambault",
"Alexandre Archambault",
"",
url("https://github.com/alexarchambault")
)
)
))
enablePlugins(ScriptedPlugin)
def scala212 = "2.12.20"
def targetSbtVersion = "1.3.10"
crossScalaVersions := Seq(scala212)
scalaVersion := scala212
scalacOptions ++= Seq(
"-feature",
"-deprecation"
)
// https://github.com/sbt/sbt/issues/5049#issuecomment-528960415
dependencyOverrides := "org.scala-sbt" % "sbt" % targetSbtVersion :: Nil
scriptedLaunchOpts ++= Seq(
"-Xmx1024M",
"-Dplugin.version=" + version.value,
"-Dsbttest.base=" + (sourceDirectory.value / "sbt-test").getAbsolutePath
)
scriptedBufferLog := false
sbtPlugin := true
(pluginCrossBuild / sbtVersion) := targetSbtVersion
libraryDependencies += "com.eed3si9n.jarjarabrams" %% "jarjar-abrams-core" % "1.14.0"