mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 02:12:42 +01:00
Adjust build features (#1436)
This commit is contained in:
parent
5cdf881dcc
commit
928d5407d8
@ -14,8 +14,7 @@ android {
|
||||
namespace = "eu.kanade.tachiyomi.lib.${project.name}"
|
||||
|
||||
buildFeatures {
|
||||
resValues = false
|
||||
shaders = false
|
||||
androidResources = false
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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"))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user