-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
33 lines (29 loc) · 1.18 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
ThisBuild / organization := "ch.unibas.cs.gravis"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / crossPaths := false
ThisBuild / autoScalaLibrary := false
ThisBuild / versionScheme := Some("semver-spec")
ThisBuild / homepage := Some(url("https://github.com/unibas-gravis/niftijio-maven"))
ThisBuild / licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
ThisBuild / scmInfo := Some(
ScmInfo(url("https://github.com/unibas-gravis/niftijio-maven"), "[email protected]:unibas-gravis/niftijio-maven.git")
)
ThisBuild / developers := List(
Developer("marcelluethi", "marcelluethi", "[email protected]", url("https://github.com/marcelluethi"))
)
ThisBuild / publishMavenStyle := true
ThisBuild / publishTo := Some(Opts.resolver.sonatypeSnapshots)
/*
* dummy package to manage vtk.jar
*/
lazy val niftijioJar = (project in file("niftijiojar"))
.settings(
name := "scalismo-niftijioJar",
Compile / packageBin := baseDirectory.value / "lib"/ "niftijio.jar"
)
lazy val hdf5JavaNatives = (project in file("scalismo-niftijio"))
.dependsOn(niftijioJar)
.aggregate(niftijioJar)
.settings(
javacOptions ++= Seq("--release", "8")
)