mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-04 03:06:41 -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) {
|
target.tasks.withType(KotlinCompile::class.java) {
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
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 {
|
testOptions {
|
||||||
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
execution = "ANDROIDX_TEST_ORCHESTRATOR"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user