mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +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}"
|
namespace = "eu.kanade.tachiyomi.lib.${project.name}"
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
resValues = false
|
androidResources = false
|
||||||
shaders = false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,11 +23,6 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildFeatures {
|
|
||||||
resValues = false
|
|
||||||
shaders = false
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
|
||||||
}
|
}
|
||||||
@ -41,10 +36,6 @@ kotlinter {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: use versionCatalogs.named("libs") in Gradle 8.5
|
// TODO: use versionCatalogs.named("libs") in Gradle 8.5
|
||||||
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
|
val libs = project.extensions.getByType<VersionCatalogsExtension>().named("libs")
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -71,8 +71,6 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
resValues false
|
|
||||||
shaders false
|
|
||||||
buildConfig true
|
buildConfig true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,10 +93,6 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
if (theme != null) implementation(theme) // Overrides core launcher icons
|
if (theme != null) implementation(theme) // Overrides core launcher icons
|
||||||
implementation(project(":core"))
|
implementation(project(":core"))
|
||||||
|
@ -21,5 +21,7 @@ org.gradle.caching=true
|
|||||||
|
|
||||||
# Enable AndroidX dependencies
|
# Enable AndroidX dependencies
|
||||||
android.useAndroidX=true
|
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