Skip to content

Commit 6626f3b

Browse files
committed
Gradle: fix property check 2
1 parent 281043e commit 6626f3b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/objectbox-java-test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
compile 'org.greenrobot:essentials:3.0.0-RC1'
1111

1212
// Check flag to use locally compiled version to avoid dependency cycles
13-
if (project.hasProperty('noObjectBoxTestDepencies') && !noObjectBoxTestDepencies) {
13+
if (!project.hasProperty('noObjectBoxTestDepencies') || !noObjectBoxTestDepencies) {
1414
if (isLinux64) {
1515
compile "io.objectbox:objectbox-linux:${rootProject.version}"
1616
} else if (isMac64) {

tests/test-proguard/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
compile project(':objectbox-java-api')
1111

1212
// Check flag to use locally compiled version to avoid dependency cycles
13-
if (project.hasProperty('noObjectBoxTestDepencies') && !noObjectBoxTestDepencies) {
13+
if (!project.hasProperty('noObjectBoxTestDepencies') || !noObjectBoxTestDepencies) {
1414
if (isLinux64) {
1515
compile "io.objectbox:objectbox-linux:${rootProject.version}"
1616
} else if (isMac64) {

0 commit comments

Comments
 (0)