diff --git a/lsplant/build.gradle.kts b/lsplant/build.gradle.kts index 390f4303b..68513ffd0 100644 --- a/lsplant/build.gradle.kts +++ b/lsplant/build.gradle.kts @@ -107,15 +107,15 @@ dependencies { val symbolsReleaseTask = tasks.register("generateReleaseSymbolsJar") { from(project.layout.buildDirectory.file("symbols/release")) exclude("**/dex_builder") - archiveClassifier.set("symbols") - archiveBaseName.set("release") + archiveClassifier = "symbols" + archiveBaseName = "release" } val symbolsStandaloneTask = tasks.register("generateStandaloneSymbolsJar") { from(project.layout.buildDirectory.file("symbols/standalone")) exclude("**/dex_builder") - archiveClassifier.set("symbols") - archiveBaseName.set("standalone") + archiveClassifier = "symbols" + archiveBaseName = "standalone" } val repo = jgit.repo(true) @@ -129,24 +129,24 @@ publish { group = "org.lsposed.lsplant" version = ver pom { - name.set("LSPlant") - description.set("A hook framework for Android Runtime (ART)") - url.set("https://github.com/LSPosed/LSPlant") + name = "LSPlant" + description = "A hook framework for Android Runtime (ART)" + url = "https://github.com/LSPosed/LSPlant" licenses { license { - name.set("GNU Lesser General Public License v3.0") - url.set("https://github.com/LSPosed/LSPlant/blob/master/LICENSE") + name = "GNU Lesser General Public License v3.0" + url = "https://github.com/LSPosed/LSPlant/blob/master/LICENSE" } } developers { developer { - name.set("Lsposed") - url.set("https://lsposed.org") + name = "Lsposed" + url = "https://lsposed.org" } } scm { - connection.set("scm:git:https://github.com/LSPosed/LSPlant.git") - url.set("https://github.com/LSPosed/LSPlant") + connection = "scm:git:https://github.com/LSPosed/LSPlant.git" + url = "https://github.com/LSPosed/LSPlant" } } } diff --git a/settings.gradle.kts b/settings.gradle.kts index 4272745e8..e6da8bfb2 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,7 +6,7 @@ pluginManagement { } } dependencyResolutionManagement { - repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS repositories { google() mavenCentral()