GeezerVison is showing github.com — Switch to new dependency configurations. · AlexRogalskiy/objectbox-java@daf47e8
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: objectbox-java/build.gradle +4-5Lines changed: 4 additions & 5 deletions | 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 { |
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-kotlin/build.gradle +2-2Lines changed: 2 additions & 2 deletions | 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 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-rxjava/build.gradle +4-4Lines changed: 4 additions & 4 deletions | 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) { |
|
Collapse file
Copy file name to clipboardExpand all lines: objectbox-rxjava3/build.gradle +5-5Lines changed: 5 additions & 5 deletions | 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) { |
|
Collapse file
Copy file name to clipboardExpand all lines: tests/objectbox-java-test/build.gradle +4-4Lines changed: 4 additions & 4 deletions | 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 { |
|
Collapse file
Copy file name to clipboardExpand all lines: tests/test-proguard/build.gradle +4-4Lines changed: 4 additions & 4 deletions | 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 | } |