mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Enabled BuildConfig file, since it is by default turened off in new gradle
This commit is contained in:
parent
19e18f6276
commit
0f65ebeff9
@ -68,7 +68,15 @@ class AllProjectConfigurer {
|
||||
target.tasks.withType(KotlinCompile::class.java) {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
buildFeatures.viewBinding = true
|
||||
buildFeatures.apply {
|
||||
viewBinding = true
|
||||
/*
|
||||
* By default, the generation of the `BuildConfig` class is turned off in Gradle `8.1.3`.
|
||||
* Since we are setting and using `buildConfig` properties in our project,
|
||||
* enabling this attribute will generate the `BuildConfig` file.
|
||||
*/
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
testOptions {
|
||||
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
||||
|
Loading…
x
Reference in New Issue
Block a user