-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
77 lines (68 loc) · 2.86 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
65
66
67
68
69
70
71
72
73
74
75
76
77
name := "spark-dicom"
inThisBuild(
List(
scalaVersion := "2.12.15",
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision, // only required for Scala 2.x
scalacOptions += "-Ywarn-unused-import", // Scala 2.x only, required by `RemoveUnused`
scalafixDependencies += "com.github.liancheng" %% "organize-imports" % "0.6.0",
versionScheme := Some("early-semver")
)
)
idePackagePrefix := Some("ai.kaiko")
Global / excludeLintKeys += idePackagePrefix
resolvers += "dcm4che Repository" at "https://www.dcm4che.org/maven2"
libraryDependencies += "org.apache.logging.log4j" %% "log4j-api-scala" % "11.0"
libraryDependencies += "org.apache.logging.log4j" % "log4j-core" % "2.17.1"
libraryDependencies += "org.apache.spark" %% "spark-core" % "3.2.0" % "provided"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "3.2.0" % "provided"
libraryDependencies += "org.apache.spark" %% "spark-mllib" % "3.2.0" % "provided"
libraryDependencies += "org.apache.spark" %% "spark-streaming" % "3.2.0" % "provided"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.10" % "test"
libraryDependencies += "org.dcm4che" % "dcm4che-core" % "5.24.2"
libraryDependencies += "org.dcm4che" % "dcm4che-json" % "5.24.2"
libraryDependencies += "org.dcm4che" % "dcm4che-imageio" % "5.24.2"
libraryDependencies += "javax.json" % "javax.json-api" % "1.1.4"
// needed to allow separate test classes to run in their own SparkSession
Test / parallelExecution := false
// assembly / mainClass := Some("ai.kaiko.dicom.app.Main")
ThisBuild / organization := "ai.kaiko"
ThisBuild / organizationName := "Kaiko"
ThisBuild / organizationHomepage := Some(url("https://kaiko.ai"))
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / crossPaths := false
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/kaiko-ai/spark-dicom"),
"scm:[email protected]:kaiko-ai/spark-dicom.git"
)
)
ThisBuild / developers := List(
Developer(
id = "marijncv",
name = "Marijn Valk",
email = "marijncv@hotmail",
url = url("https://github.com/marijncv")
),
Developer(
id = "GuillaumeDesforges",
name = "Guillaume Desforges",
email = "[email protected]",
url = url("https://github.com/GuillaumeDesforges")
),
Developer(
id = "robopoc",
name = "Robert Berke",
email = "[email protected]",
url = url("https://github.com/robopoc")
)
)
ThisBuild / description := "Spark DICOM connector in Scala"
ThisBuild / licenses := List(
"Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")
)
ThisBuild / homepage := Some(url("https://github.com/kaiko-ai/spark-dicom"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishTo := sonatypePublishToBundle.value
Global / excludeLintKeys += pomIncludeRepository