Skip to content

Commit

Permalink
Use kotlint dsl simple property assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Jul 10, 2024
1 parent 8fe8c6d commit 9d63f3b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions lsplant/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ dependencies {
val symbolsReleaseTask = tasks.register<Jar>("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<Jar>("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)
Expand All @@ -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"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
repositories {
google()
mavenCentral()
Expand Down

0 comments on commit 9d63f3b

Please sign in to comment.