-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
57 lines (45 loc) · 1.7 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import sbt.librarymanagement
organization := "kr.bydelta"
name := "koalanlp-scala"
version := "2.1.1-SNAPSHOT"
scalaVersion := "2.13.1"
crossScalaVersions := Seq("2.11.12", "2.12.9", "2.13.1")
autoAPIMappings := true
scalacOptions ++= Seq("-deprecation", "-unchecked", "-language:implicitConversions")
scalacOptions in Test ++= Seq("-Yrangepos")
resolvers += Resolver.JCenterRepository
resolvers += Resolver.sonatypeRepo("snapshots")
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies ++= Seq(
"kr.bydelta" % "koalanlp-core" % "2.1.2",
"kr.bydelta" % "koalanlp-hnn" % "2.1.3" % "test" classifier "assembly",
"kr.bydelta" % "koalanlp-kmr" % "2.1.2" % "test",
"kr.bydelta" % "koalanlp-etri" % "2.1.2" % "test",
"org.specs2" %% "specs2-core" % "4.8.1" % "test"
)
publishArtifact in Test := false
apiURL := Some(url("https://koalanlp.github.io/scala-support/api/"))
homepage := Some(url("http://koalanlp.github.io/koalanlp"))
publishTo := version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}.value
licenses := Seq("MIT" -> url("https://tldrlegal.com/license/mit-license"))
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra :=
<scm>
<url>[email protected]:koalanlp/scala-support.git</url>
<connection>scm:git:[email protected]:koalanlp/scala-support.git</connection>
</scm>
<developers>
<developer>
<id>nearbydelta</id>
<name>Bugeun Kim</name>
<url>http://github.com/nearbydelta</url>
</developer>
</developers>