-
Notifications
You must be signed in to change notification settings - Fork 21
/
build.sbt
64 lines (50 loc) · 1.78 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
58
59
60
61
62
63
64
organization := "com.github.wangzaixiang"
name := "wsql"
version := "3.0.0-RC2"
scalaVersion := "3.3.0"
scalacOptions := Seq( "-Yexplicit-nulls" )
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.9",
"com.github.jsqlparser" % "jsqlparser" % "1.2" % "provided",
// "org.scala-lang" %% "scala3-compiler" % scalaVersion.value,
"com.h2database" % "h2" % "1.4.184" % "test",
"junit" % "junit" % "4.12" % "test",
"org.scalatest" %% "scalatest" % "3.2.12" % "test",
"ch.qos.logback" % "logback-classic" % "1.2.11" % "test",
"ch.qos.logback" % "logback-core" % "1.2.11" % "test",
"mysql" % "mysql-connector-java" % "5.1.38" % "test"
)
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishConfiguration := publishConfiguration.value.withOverwrite(true)
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://github.com/wangzaixiang/scala-sql</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>wangzaixiang</id>
<name>wangzaixiang</name>
<url>http://wangzaixiang.github.io</url>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/wangzaixiang/scala-sql</connection>
<developerConnection>scm:git:https://github.com/wangzaixiang/scala-sql</developerConnection>
<url>github.com/wangzaixiang/scala-sql</url>
<tag>v2.0.7</tag>
</scm>
)