-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
42 lines (32 loc) · 1.32 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
organization in ThisBuild := "com.lynbrookrobotics"
scalaVersion in ThisBuild := "2.11.12"
publishMavenStyle in ThisBuild := true
publishTo in ThisBuild := Some(Resolver.file("gh-pages-repo", baseDirectory.value / "repo"))
resolvers in ThisBuild += "Funky-Repo" at "http://lynbrookrobotics.com/repo"
lazy val scalaNativeWpilib = project.in(file("."))
.aggregate(
scalaNativeJNINativeLib,
scalaNativeJNI,
wpilib,
ntcore,
phoenix
).settings(
publish := {},
publishLocal := {}
)
lazy val scalaNativeJNINativeLib = project
lazy val scalaNativeJNI = project.dependsOn(scalaNativeJNINativeLib).settings(
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
)
lazy val ntcore = project.dependsOn(scalaNativeJNI).settings(
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
)
lazy val wpilib = project.dependsOn(scalaNativeJNI, ntcore).settings(
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
)
lazy val phoenix = project.dependsOn(scalaNativeJNI, wpilib).settings(
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
)
lazy val example = project.dependsOn(wpilib, ntcore, phoenix).settings(
unmanagedJars in Compile += (Keys.`package` in Compile in scalaNativeJNINativeLib).value
)