-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
58 lines (52 loc) · 1.36 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
apply plugin: 'com.android.library'
apply plugin: 'maven'
group 'com.boundlessgeo.spatialconnect'
version '0.10.0'
def isCi = "true".equals(System.getenv("CI"))
def preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
android {
compileSdkVersion 25
buildToolsVersion '25.0.0'
defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "0.8"
multiDexEnabled = true
}
lintOptions {
abortOnError false
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
productFlavors {
}
sourceSets {
main.jniLibs.srcDirs = ['libs']
}
dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !isCi
}
}
repositories {
jcenter()
mavenCentral()
maven {
url "https://repo.eclipse.org/content/repositories/paho-releases/"
}
}
dependencies {
compile 'com.facebook.react:react-native:+'
compile("com.boundlessgeo.spatialconnect:spatialconnect:0.11.5") {
exclude module: 'support-v4'
}
}