Adjust build features (#1436)

This commit is contained in:
stevenyomi 2024-02-21 16:56:32 +00:00 committed by GitHub
parent 5cdf881dcc
commit 928d5407d8
4 changed files with 5 additions and 19 deletions

View File

@ -14,8 +14,7 @@ android {
namespace = "eu.kanade.tachiyomi.lib.${project.name}"
buildFeatures {
resValues = false
shaders = false
androidResources = false
}
}

View File

@ -23,11 +23,6 @@ android {
}
}
buildFeatures {
resValues = false
shaders = false
}
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
}
@ -41,10 +36,6 @@ kotlinter {
)
}
repositories {
mavenCentral()
}
// TODO: use versionCatalogs.named("libs") in Gradle 8.5
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
dependencies {

View File

@ -71,8 +71,6 @@ android {
}
buildFeatures {
resValues false
shaders false
buildConfig true
}
@ -95,10 +93,6 @@ android {
}
}
repositories {
mavenCentral()
}
dependencies {
if (theme != null) implementation(theme) // Overrides core launcher icons
implementation(project(":core"))

View File

@ -21,5 +21,7 @@ org.gradle.caching=true
# Enable AndroidX dependencies
android.useAndroidX=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
android.enableBuildConfigAsBytecode=true
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false