Disable unused AGP features (#5872)
This commit is contained in:
parent
04253a8159
commit
b937caa855
|
@ -43,6 +43,14 @@ android {
|
||||||
includeInApk = false
|
includeInApk = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buildFeatures {
|
||||||
|
// Disable unused AGP features
|
||||||
|
aidl false
|
||||||
|
renderScript false
|
||||||
|
resValues false
|
||||||
|
shaders false
|
||||||
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
Loading…
Reference in New Issue