-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
27 lines (23 loc) · 1002 Bytes
/
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
ThisBuild / organization := "io.github.david-sledge"
ThisBuild / scalaVersion := "2.13.1"
//ThisBuild / version := "1.0.0-alpha.4"
scalacOptions ++= Seq(
"-deprecation", "-feature",
)
import xerial.sbt.Sonatype._
lazy val root = (project in file("."))
.settings(
unmanagedClasspath in Runtime += baseDirectory.value / "src/main/resources",
name := "scalaioc",
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % "2.13.1",
"org.scala-lang" % "scala-reflect" % "2.13.1",
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
"javax.servlet" % "javax.servlet-api" % "3.0.1" % "provided",
"com.fasterxml.jackson.core" % "jackson-core" % "2.12.1" % "test,runtime",
),
mainClass in (Compile, packageBin) := Some("scala.ioc.cli.Main"),
)
publishTo := sonatypePublishToBundle.value
//publishConfiguration := publishConfiguration.value.withOverwrite(true)
//publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true)