Commit f7371248 by 王涛55

feat:删除重复的配置

parent df65cfe9
if (isModule) { if (isModule) {
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
} else { } else {
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
} }
...@@ -40,6 +39,9 @@ android { ...@@ -40,6 +39,9 @@ android {
abortOnError false abortOnError false
} }
dexOptions {
preDexLibraries = false
}
compileOptions { compileOptions {
encoding = 'utf-8' encoding = 'utf-8'
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
...@@ -59,24 +61,6 @@ android { ...@@ -59,24 +61,6 @@ android {
} }
} }
dexOptions {
javaMaxHeapSize "4g"
preDexLibraries = false
jumboMode = true
}
dataBinding {
enabled = true
}
lintOptions {
abortOnError false
}
dexOptions {
preDexLibraries = false
}
} }
dependencies { dependencies {
......
if (isModule) { if (isModule) {
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
} else { } else {
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment