forked from flock-community/kotlin-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
45 lines (42 loc) · 1.35 KB
/
build.sbt
File metadata and controls
45 lines (42 loc) · 1.35 KB
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
43
44
45
import sbt.ThisBuild
import xerial.sbt.Sonatype.sonatypeCentralHost
addCommandAlias("fmt", "scalafmt")
addCommandAlias("check", "scalafmtCheckAll")
inThisBuild(
List(
organization := "org.bitlap",
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 = "dreamylost@outlook.com",
url = url("https://github.com/jxnu-liguobin")
)
),
ThisBuild / sonatypeProfileName := "org.bitlap",
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
)
)
lazy val `sbt-kotlin-plugin` = (project in file("."))
.settings(
name := "sbt-kotlin-plugin",
moduleName := "sbt-kotlin-plugin",
scalacOptions ++= Seq("-deprecation", "-Xlint", "-feature"),
libraryDependencies ++= Seq(
"io.github.argonaut-io" %% "argonaut" % "6.3.11",
"org.scalaz" %% "scalaz-core" % "7.2.36"
),
sbtPlugin := true,
sbtPluginPublishLegacyMavenStyle := false,
buildInfoPackage := "kotlin",
// scripted
scriptedLaunchOpts ++= Seq(
"-Xmx1024m",
"-Dplugin.version=" + version.value
)
)
.enablePlugins(BuildInfoPlugin, SbtPlugin)