Disable buildFeatures by default to speed up builds

This commit is contained in:
Goooler 2022-12-07 11:16:04 +08:00 committed by cketti
parent 9424de9f8f
commit 65e07cba13
6 changed files with 28 additions and 0 deletions

View file

@ -44,4 +44,8 @@ dependencies {
android {
namespace 'com.fsck.k9.core'
buildFeatures {
buildConfig true
}
}

View file

@ -58,6 +58,10 @@ android {
"fy"
}
buildFeatures {
buildConfig true
}
signingConfigs {
release
}

View file

@ -72,6 +72,10 @@ dependencies {
android {
namespace 'com.fsck.k9.ui'
buildFeatures {
buildConfig true
}
buildTypes {
debug {
def useNewSetupUi = project.hasProperty('k9mail.useNewSetupUi') ? project.property('k9mail.useNewSetupUi') : "false"

View file

@ -11,6 +11,10 @@ dependencies {
android {
namespace 'app.k9mail.ui.widget.list'
buildFeatures {
buildConfig true
}
buildTypes {
debug {
manifestPlaceholders = ['appAuthRedirectScheme': 'FIXME: override this in your app project']

View file

@ -1,6 +1,14 @@
# Disable buildFeatures flags by default
android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
android.useAndroidX=true
android.enableJetifier=false
android.nonTransitiveRClass=true
org.gradle.jvmargs=-Xmx1400m
org.gradle.parallel=true
org.gradle.caching=true

View file

@ -2,6 +2,10 @@ apply plugin: 'com.android.library'
android {
namespace 'org.openintents.openpgp'
buildFeatures {
aidl true
}
}
dependencies {