forked from koush/AndroidAsync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (29 loc) · 969 Bytes
/
Copy pathbuild.gradle
File metadata and controls
36 lines (29 loc) · 969 Bytes
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
apply plugin: 'com.android.library'
android {
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
jniLibs.srcDirs = ['libs/']
java.srcDirs=['src/'
// , '../conscrypt/'
// , '../compat/'
]
}
androidTest.java.srcDirs=['test/src/']
androidTest.res.srcDirs=['test/res/']
androidTest.assets.srcDirs=['test/assets/']
}
lintOptions {
abortOnError false
}
defaultConfig {
targetSdkVersion 24
minSdkVersion 9
}
compileSdkVersion project.hasProperty('global_compileSdkVersion') ? global_compileSdkVersion : 25
buildToolsVersion project.hasProperty('global_buildToolsVersion') ? global_buildToolsVersion : '25.0.2'
}
// upload to maven task
if (System.getenv().I_AM_KOUSH == 'true') {
apply from: 'https://raw.githubusercontent.com/koush/mvn-repo/master/maven.gradle'
}