There was an error while loading. Please reload this page.
1 parent b76db3c commit 5c64f6fCopy full SHA for 5c64f6f
build.gradle
@@ -2,6 +2,12 @@
2
version = '0.9.16-RC3-SNAPSHOT'
3
4
buildscript {
5
+ ext {
6
+ isLinux = System.getProperty("os.name").contains("Linux")
7
+ is64 = System.getProperty("sun.arch.data.model") == "64"
8
+ isLinux64 = isLinux && is64
9
+ }
10
+
11
repositories {
12
jcenter()
13
}
tests/objectbox-java-test/build.gradle
@@ -9,6 +9,10 @@ dependencies {
compile project(':objectbox-java')
compile 'org.greenrobot:essentials:3.0.0-RC1'
+ if(isLinux64) {
+ compile "io.objectbox:objectbox-linux:$versionUnderTest"
14
15
16
// Right now, test sources are in src/main not src/test
17
compile 'junit:junit:4.12'
18
0 commit comments