Change buildConfig to be disabled for Android libraries and enabled for applications also enabled for ui legacy
This commit is contained in:
parent
1ba071bfb3
commit
451bad2970
4 changed files with 12 additions and 4 deletions
|
@ -67,6 +67,10 @@ dependencies {
|
|||
android {
|
||||
namespace 'com.fsck.k9.ui'
|
||||
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
def useNewSetupUi = project.hasProperty('k9mail.useNewSetupUi') ? project.property('k9mail.useNewSetupUi') : "false"
|
||||
|
|
|
@ -11,10 +11,6 @@ fun CommonExtension<*, *, *, *>.configureSharedConfig() {
|
|||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = ThunderbirdProjectConfig.javaVersion
|
||||
targetCompatibility = ThunderbirdProjectConfig.javaVersion
|
||||
|
|
|
@ -10,6 +10,10 @@ android {
|
|||
targetSdk = ThunderbirdProjectConfig.androidSdkTarget
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
}
|
||||
|
|
|
@ -11,6 +11,10 @@ android {
|
|||
targetSdk = ThunderbirdProjectConfig.androidSdkTarget
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
buildConfig = false
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = ThunderbirdProjectConfig.javaVersion.toString()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue