File tree Expand file tree Collapse file tree 3 files changed +9
-20
lines changed
Expand file tree Collapse file tree 3 files changed +9
-20
lines changed Original file line number Diff line number Diff line change 3434}
3535
3636subprojects {
37+
38+ repositories {
39+ mavenCentral()
40+ }
41+
3742 apply plugin : ' java'
3843
44+ dependencies {
45+ testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
46+ }
47+
3948 if (! isCi) {
4049 // we don't need the bintray features for the ci build
4150 apply from : rootProject. file(' gradle/bintray.gradle' )
@@ -57,7 +66,4 @@ subprojects {
5766 */
5867}
5968
60- repositories {
61- mavenCentral()
62- }
6369
Original file line number Diff line number Diff line change 1- group ' com.tmtron.enums'
2- version ' 1.0-SNAPSHOT'
3-
41// we also want o use the library for Android projects
52sourceCompatibility = 1.7
63
7- repositories {
8- mavenCentral()
9- }
10-
114dependencies {
125 /* e.g. javax.annotation.Generated
136 * Note: do NOT upgrade to 1.3 (java-8) but keep 1.2 (java6)
@@ -18,6 +11,4 @@ dependencies {
1811 * see also: http://stackoverflow.com/questions/4963300/which-notnull-java-annotation-should-i-use
1912 */
2013 compileOnly ' com.google.code.findbugs:jsr305:2.0.1'
21-
22- testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
2314}
Original file line number Diff line number Diff line change 1- group ' com.tmtron.enums'
2- version ' 1.0-SNAPSHOT'
3-
41sourceCompatibility = 1.8
52
6- repositories {
7- mavenCentral()
8- }
9-
103dependencies {
114 compile project(' :enum-mapper-lib' )
125
136 compile ' com.squareup:javapoet:1.8.0'
147 compile ' com.google.auto.service:auto-service:1.0-rc3'
158 compile ' com.google.auto:auto-common:0.8'
169
17- testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
1810 testCompile ' com.google.testing.compile:compile-testing:0.10'
1911 testCompile ' com.google.truth:truth:0.32'
2012 /* we need the JVM tools, otherwise the tests may fail with:
You can’t perform that action at this time.
0 commit comments