This commit is contained in:
Horis
2026-01-06 15:02:13 +08:00
parent eb75fd573d
commit 633261a859
4 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -25,7 +25,7 @@ def gitCommits = Integer.parseInt('git rev-list HEAD --count'.execute().text.tri
android {
compileSdk = compile_sdk_version
namespace 'io.legado.app'
namespace = 'io.legado.app'
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(17))
@@ -69,8 +69,8 @@ android {
}
}
buildFeatures {
buildConfig true
viewBinding true
buildConfig = true
viewBinding = true
}
buildTypes {
release {
@@ -85,7 +85,7 @@ android {
}
minifyEnabled true
shrinkResources true
shrinkResources = true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro', 'cronet-proguard-rules.pro'
}
debug {
@@ -131,7 +131,7 @@ android {
compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
coreLibraryDesugaringEnabled = true
// Sets Java compatibility
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
@@ -145,7 +145,7 @@ android {
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}
lint {
checkDependencies true
checkDependencies = true
}
tasks.withType(JavaCompile).tap {
configureEach {
+2 -2
View File
@@ -5,7 +5,7 @@ plugins {
android {
compileSdk = compile_sdk_version
namespace 'me.ag2s'
namespace = 'me.ag2s'
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(17))
@@ -24,7 +24,7 @@ android {
targetCompatibility JavaVersion.VERSION_17
}
lint {
checkDependencies true
checkDependencies = true
}
}
+2 -2
View File
@@ -7,7 +7,7 @@ plugins {
android {
compileSdk = compile_sdk_version
namespace 'com.script'
namespace = 'com.script'
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(17))
@@ -25,7 +25,7 @@ android {
targetCompatibility JavaVersion.VERSION_17
}
lint {
checkDependencies true
checkDependencies = true
}
tasks.withType(JavaCompile).tap {
configureEach {
+1 -1
View File
@@ -31,7 +31,7 @@ dependencyResolutionManagement {
}
}
maven {
url 'https://jitpack.io'
url = 'https://jitpack.io'
content {
includeGroupByRegex("com\\.github.*")
}