Skip to content
This repository was archived by the owner on Nov 14, 2017. It is now read-only.

Commit 2b7d6b2

Browse files
authored
cross building on jitpack (#13)
* #add: cross building on jitpack * #mod: try jitpack cross-building 2nd * #mod: bump sbt to 0.13.13 * #mod: add jdk version to travis.yml * #mod: migrate to sbt 0.13.13 style * #mod: update README(support cross version) * #mod: migrate to sbt 0.13.13 style(inputKey uses 'evaluated') * #mod: update README(scala 2.12 resolving)
1 parent c744210 commit 2b7d6b2

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
sudo: false
2+
addons:
3+
apt:
4+
packages:
5+
- oracle-java8-installer
6+
7+
language: scala
8+
scala:
9+
- 2.12.0
10+
- 2.11.8
11+
jdk:
12+
- oraclejdk8

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ I wanted a more customizable interfaces.
1010

1111
## Installation
1212

13+
supports Scala 2.11.x, 2.12.x
14+
1315
```
1416
resolvers += "jitpack" at "https://jitpack.io"
15-
libraryDependencies += "com.github.yoskhdia" % "sqscala" % <<check latest version from jitpack.>>
17+
libraryDependencies += "com.github.yoskhdia" % "sqscala" % <<check latest version from jitpack.>> // Scala 2.12
18+
libraryDependencies += "com.github.yoskhdia" %% "sqscala" % <<check latest version from jitpack.>> // Scala 2.11
1619
```
1720

1821
## How to use

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ elasticMQVersion := "0.10.1"
3636
nodeAddressConf := NodeAddressConf(port = 9325)
3737
restSQSConf := RestSQSConf(bindPort = 9325)
3838

39-
startElasticMQ <<= startElasticMQ.dependsOn(compile in Test)
40-
test in Test <<= (test in Test).dependsOn(startElasticMQ)
41-
testOptions in Test <+= elasticMQTestCleanup
42-
testOnly in Test <<= (testOnly in Test).dependsOn(startElasticMQ)
39+
startElasticMQ := startElasticMQ.dependsOn(compile in Test).value
40+
test in Test := (test in Test).dependsOn(startElasticMQ).value
41+
testOptions in Test += elasticMQTestCleanup.value
42+
testOnly in Test := (testOnly in Test).dependsOn(startElasticMQ).evaluated

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version = 0.13.8
1+
sbt.version = 0.13.13

0 commit comments

Comments
 (0)