File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed
Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ local.properties
2121# Native libs
2222objectbox * .dll
2323libobjectbox * .so
24+ libobjectbox * .dylib
2425
2526# ## Test DB files
2627data.mdb
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ buildscript {
55 ext. ob_expected_version = project. hasProperty(' expectedVersion' ) ? project. property(' expectedVersion' ) : ' UNDEFINED'
66 ext {
77 isLinux = System . getProperty(" os.name" ). contains(" Linux" )
8+ isMac = ! isLinux && System . getProperty(" os.name" ). toLowerCase(). contains(" mac" )
89 is64 = System . getProperty(" sun.arch.data.model" ) == " 64"
910 isLinux64 = isLinux && is64
11+ isMac64 = isMac && is64
1012 }
1113
1214 repositories {
@@ -156,6 +158,6 @@ task verifyVersion {
156158
157159task wrapper (type : Wrapper ) {
158160 group ' build setup'
159- gradleVersion = ' 4.4 .1'
161+ gradleVersion = ' 4.5 .1'
160162 distributionType = Wrapper.DistributionType . ALL
161163}
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ dependencies {
1111
1212 if (isLinux64) {
1313 compile " io.objectbox:objectbox-linux:${ rootProject.version} "
14+ } else if (isMac64) {
15+ compile " io.objectbox:objectbox-macos:${ rootProject.version} "
1416 }
1517
1618 // Right now, test sources are in src/main not src/test
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ dependencies {
1111
1212 if (isLinux64) {
1313 compile " io.objectbox:objectbox-linux:${ rootProject.version} "
14+ } else if (isMac64) {
15+ compile " io.objectbox:objectbox-macos:${ rootProject.version} "
1416 }
1517
1618 testCompile ' junit:junit:4.12'
You can’t perform that action at this time.
0 commit comments