File tree Expand file tree Collapse file tree 6 files changed +23
-24
lines changed Expand file tree Collapse file tree 6 files changed +23
-24
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,10 @@ sourceCompatibility = JavaVersion.VERSION_1_8
5
5
targetCompatibility = JavaVersion . VERSION_1_8
6
6
7
7
dependencies {
8
- compile fileTree(include : [' *.jar' ], dir : ' libs' )
9
- compile project(' :objectbox-java-api' )
10
- compile ' org.greenrobot:essentials:3.0.0-RC1'
11
- compile ' com.google.flatbuffers:flatbuffers-java:1.12.0'
12
- compile ' com.google.code.findbugs:jsr305:3.0.2'
8
+ api project(' :objectbox-java-api' )
9
+ implementation ' org.greenrobot:essentials:3.0.0-RC1'
10
+ implementation ' com.google.flatbuffers:flatbuffers-java:1.12.0'
11
+ api ' com.google.code.findbugs:jsr305:3.0.2'
13
12
}
14
13
15
14
spotbugs {
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ artifacts {
48
48
}
49
49
50
50
dependencies {
51
- compile " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
51
+ implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
52
52
53
- compile project(' :objectbox-java' )
53
+ api project(' :objectbox-java' )
54
54
}
55
55
56
56
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ sourceCompatibility = JavaVersion.VERSION_1_8
4
4
targetCompatibility = JavaVersion . VERSION_1_8
5
5
6
6
dependencies {
7
- compile project(' :objectbox-java' )
8
- compile ' io.reactivex.rxjava2:rxjava:2.2.18'
7
+ api project(' :objectbox-java' )
8
+ api ' io.reactivex.rxjava2:rxjava:2.2.18'
9
9
10
- testCompile " junit:junit:$junit_version "
11
- testCompile " org.mockito:mockito-core:$mockito_version "
10
+ testImplementation " junit:junit:$junit_version "
11
+ testImplementation " org.mockito:mockito-core:$mockito_version "
12
12
}
13
13
14
14
task javadocJar (type : Jar , dependsOn : javadoc) {
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ dokka {
33
33
}
34
34
35
35
dependencies {
36
- compile project(' :objectbox-java' )
37
- compile ' io.reactivex.rxjava3:rxjava:3.0.1'
36
+ api project(' :objectbox-java' )
37
+ api ' io.reactivex.rxjava3:rxjava:3.0.1'
38
38
compileOnly " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
39
39
40
- testCompile " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
41
- testCompile " junit:junit:$junit_version "
42
- testCompile " org.mockito:mockito-core:$mockito_version "
40
+ testImplementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
41
+ testImplementation " junit:junit:$junit_version "
42
+ testImplementation " org.mockito:mockito-core:$mockito_version "
43
43
}
44
44
45
45
task javadocJar (type : Jar , dependsOn : dokka) {
Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ repositories {
22
22
}
23
23
24
24
dependencies {
25
- compile project(' :objectbox-java' )
26
- compile ' org.greenrobot:essentials:3.0.0-RC1'
25
+ implementation project(' :objectbox-java' )
26
+ implementation ' org.greenrobot:essentials:3.0.0-RC1'
27
27
28
28
// Check flag to use locally compiled version to avoid dependency cycles
29
29
if (! project. hasProperty(' noObjectBoxTestDepencies' ) || ! noObjectBoxTestDepencies) {
30
30
println " Using $ob_native_dep "
31
- compile ob_native_dep
31
+ implementation ob_native_dep
32
32
} else {
33
33
println " Did NOT add native dependency"
34
34
}
35
35
36
- testCompile " junit:junit:$junit_version "
36
+ testImplementation " junit:junit:$junit_version "
37
37
}
38
38
39
39
test {
Original file line number Diff line number Diff line change @@ -22,16 +22,16 @@ repositories {
22
22
}
23
23
24
24
dependencies {
25
- compile project(' :objectbox-java' )
26
- compile project(' :objectbox-java-api' )
25
+ implementation project(' :objectbox-java' )
26
+ implementation project(' :objectbox-java-api' )
27
27
28
28
// Check flag to use locally compiled version to avoid dependency cycles
29
29
if (! project. hasProperty(' noObjectBoxTestDepencies' ) || ! noObjectBoxTestDepencies) {
30
30
println " Using $ob_native_dep "
31
- compile ob_native_dep
31
+ implementation ob_native_dep
32
32
} else {
33
33
println " Did NOT add native dependency"
34
34
}
35
35
36
- testCompile " junit:junit:$junit_version "
36
+ testImplementation " junit:junit:$junit_version "
37
37
}
You can’t perform that action at this time.
0 commit comments