File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ dependencies {
9
9
compile project(' :objectbox-java' )
10
10
compile ' org.greenrobot:essentials:3.0.0-RC1'
11
11
12
- if (isLinux64) {
13
- compile " io.objectbox:objectbox-linux:${ rootProject.version} "
14
- } else if (isMac64) {
15
- compile " io.objectbox:objectbox-macos:${ rootProject.version} "
16
- } else if (isWin64) {
17
- compile " io.objectbox:objectbox-windows:${ rootProject.version} "
12
+ if (! noObjectBoxTestDepencies) { // Switch to use locally compiled version to avoid dependency cycles
13
+ if (isLinux64) {
14
+ compile " io.objectbox:objectbox-linux:${ rootProject.version} "
15
+ } else if (isMac64) {
16
+ compile " io.objectbox:objectbox-macos:${ rootProject.version} "
17
+ } else if (isWin64) {
18
+ compile " io.objectbox:objectbox-windows:${ rootProject.version} "
19
+ }
18
20
}
19
21
20
22
testCompile ' junit:junit:4.12'
28
30
testLogging {
29
31
showStandardStreams = true
30
32
exceptionFormat = ' full'
31
- displayGranularity= 2
33
+ displayGranularity = 2
32
34
events ' started' , ' passed'
33
35
}
34
36
}
Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ dependencies {
9
9
compile project(' :objectbox-java' )
10
10
compile project(' :objectbox-java-api' )
11
11
12
- if (isLinux64) {
13
- compile " io.objectbox:objectbox-linux:${ rootProject.version} "
14
- } else if (isMac64) {
15
- compile " io.objectbox:objectbox-macos:${ rootProject.version} "
16
- } else if (isWin64) {
17
- compile " io.objectbox:objectbox-windows:${ rootProject.version} "
12
+ if (! noObjectBoxTestDepencies) { // Switch to use locally compiled version to avoid dependency cycles
13
+ if (isLinux64) {
14
+ compile " io.objectbox:objectbox-linux:${ rootProject.version} "
15
+ } else if (isMac64) {
16
+ compile " io.objectbox:objectbox-macos:${ rootProject.version} "
17
+ } else if (isWin64) {
18
+ compile " io.objectbox:objectbox-windows:${ rootProject.version} "
19
+ }
18
20
}
19
21
20
22
testCompile ' junit:junit:4.12'
You can’t perform that action at this time.
0 commit comments