forked from Meituan-Dianping/Robust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (36 loc) · 1.12 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
apply plugin: 'com.android.library'
project.archivesBaseName = 'robust'
android {
compileSdkVersion 24
buildToolsVersion '25.0.2'
defaultConfig {
minSdkVersion 9
targetSdkVersion 24
versionCode 1
versionName '1.0'
}
buildTypes {
release {
consumerProguardFiles 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
packagingOptions {
exclude 'META-INF/maven/com.google.guava/guava/pom.properties'
exclude 'META-INF/maven/com.google.guava/guava/pom.xml'
exclude 'META-INF/maven/commons-cli/commons-cli/pom.properties'
exclude 'META-INF/maven/commons-cli/commons-cli/pom.xml'
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
dependencies {
// compile 'com.meituan.robust:autopatchbase:' + VERSION_NAME
compile project(':autopatchbase')
}
apply from: '../gradle_mvn_push.gradle'