forked from flock-community/kotlin-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
42 lines (40 loc) · 1.25 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
40
41
42
addCommandAlias("fmt", "scalafmt")
addCommandAlias("check", "scalafmtCheckAll")
inThisBuild(
List(
organization := "org.bitlap",
organizationName := "sbt-kotlin-plugin",
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
homepage := Some(url("https://github.com/bitlap/kotlin-plugin")),
licenses := List(
"MIT" -> url("https://opensource.org/licenses/MIT")
),
developers := List(
Developer(
id = "jxnu-liguobin",
name = "梦境迷离",
email = "[email protected]",
url = url("https://blog.dreamylost.cn")
)
)
)
)
lazy val `sbt-kotlin-plugin` = (project in file("."))
.settings(
name := "sbt-kotlin-plugin",
organization := "org.bitlap",
scalacOptions ++= Seq("-deprecation", "-Xlint", "-feature"),
libraryDependencies ++= Seq(
"io.argonaut" %% "argonaut" % "6.2",
"org.scalaz" %% "scalaz-core" % "7.2.28"
),
sbtPlugin := true,
buildInfoPackage := "kotlin",
// scripted
scriptedLaunchOpts ++= Seq(
"-Xmx1024m",
"-Dplugin.version=" + version.value
)
)
.enablePlugins(BuildInfoPlugin, SbtPlugin)