Skip to content

Commit 82aa8e7

Browse files
committed
Pivot to SBT for build tool.
This might be contentious to non-Scala devs, but the ease of enabling Travis CI publishing to Maven Central via the sbt-ci-release plugin is very valuable. I briefly tried to get Gradle working and it was painful; several plugins have to be carefully orchestrated, and multiple files need to be encrypted and checked in. sbt-ci-release makes it all a lot easier. See dfab9c7 for notes and progress on the Gradle stuff.
1 parent 5e776bb commit 82aa8e7

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
build/
22
.gradle/
3+
34
out/
5+
6+
target/
7+
8+
.DS_Store
9+
.idea

build.sbt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test
2+
3+
Test / parallelExecution := false // Tests mutate global state
4+
5+
inThisBuild(List(
6+
organization := "org.jameskoch",
7+
homepage := Some(url("https://github.com/jameskoch/jvm-repr")),
8+
licenses := List("BSD 3-Clause License" -> url("https://raw.githubusercontent.com/jameskoch/jvm-repr/master/LICENSE")),
9+
developers := List(
10+
Developer(
11+
"jameskoch",
12+
"James Koch",
13+
14+
url("https://jupyter.org")
15+
)
16+
)
17+
))

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=1.2.8

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// https://github.com/olafurpg/sbt-ci-release
2+
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.2.2")

0 commit comments

Comments
 (0)