From 633261a859de16a796dd038bc242d01f664b139e Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Tue, 6 Jan 2026 15:02:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 12 ++++++------ modules/book/build.gradle | 4 ++-- modules/rhino/build.gradle | 4 ++-- settings.gradle | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2540d56d3..4b7b17a98 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/modules/book/build.gradle b/modules/book/build.gradle index 07b850362..ceda8f621 100644 --- a/modules/book/build.gradle +++ b/modules/book/build.gradle @@ -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 } } diff --git a/modules/rhino/build.gradle b/modules/rhino/build.gradle index 2c6cd4b2e..ca3faa6cb 100644 --- a/modules/rhino/build.gradle +++ b/modules/rhino/build.gradle @@ -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 { diff --git a/settings.gradle b/settings.gradle index b69768276..237203493 100644 --- a/settings.gradle +++ b/settings.gradle @@ -31,7 +31,7 @@ dependencyResolutionManagement { } } maven { - url 'https://jitpack.io' + url = 'https://jitpack.io' content { includeGroupByRegex("com\\.github.*") }