Switch to buildFeatures for enabling buildConfig generation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -74,6 +74,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
|
buildConfig true
|
||||||
viewBinding true
|
viewBinding true
|
||||||
aidl true
|
aidl true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,6 +49,5 @@ android.lifecycleProcessor.incremental=true
|
|||||||
# turn off AP discovery in compile path, and therefore turn on Compile Avoidance
|
# turn off AP discovery in compile path, and therefore turn on Compile Avoidance
|
||||||
kapt.include.compile.classpath=false
|
kapt.include.compile.classpath=false
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
android.defaults.buildfeatures.buildconfig=true
|
|
||||||
android.nonTransitiveRClass=false
|
android.nonTransitiveRClass=false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user