mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Use kotlint dsl simple property assignment
This commit is contained in:
parent
8fe8c6da1f
commit
9d63f3bb50
@ -107,15 +107,15 @@ dependencies {
|
|||||||
val symbolsReleaseTask = tasks.register<Jar>("generateReleaseSymbolsJar") {
|
val symbolsReleaseTask = tasks.register<Jar>("generateReleaseSymbolsJar") {
|
||||||
from(project.layout.buildDirectory.file("symbols/release"))
|
from(project.layout.buildDirectory.file("symbols/release"))
|
||||||
exclude("**/dex_builder")
|
exclude("**/dex_builder")
|
||||||
archiveClassifier.set("symbols")
|
archiveClassifier = "symbols"
|
||||||
archiveBaseName.set("release")
|
archiveBaseName = "release"
|
||||||
}
|
}
|
||||||
|
|
||||||
val symbolsStandaloneTask = tasks.register<Jar>("generateStandaloneSymbolsJar") {
|
val symbolsStandaloneTask = tasks.register<Jar>("generateStandaloneSymbolsJar") {
|
||||||
from(project.layout.buildDirectory.file("symbols/standalone"))
|
from(project.layout.buildDirectory.file("symbols/standalone"))
|
||||||
exclude("**/dex_builder")
|
exclude("**/dex_builder")
|
||||||
archiveClassifier.set("symbols")
|
archiveClassifier = "symbols"
|
||||||
archiveBaseName.set("standalone")
|
archiveBaseName = "standalone"
|
||||||
}
|
}
|
||||||
|
|
||||||
val repo = jgit.repo(true)
|
val repo = jgit.repo(true)
|
||||||
@ -129,24 +129,24 @@ publish {
|
|||||||
group = "org.lsposed.lsplant"
|
group = "org.lsposed.lsplant"
|
||||||
version = ver
|
version = ver
|
||||||
pom {
|
pom {
|
||||||
name.set("LSPlant")
|
name = "LSPlant"
|
||||||
description.set("A hook framework for Android Runtime (ART)")
|
description = "A hook framework for Android Runtime (ART)"
|
||||||
url.set("https://github.com/LSPosed/LSPlant")
|
url = "https://github.com/LSPosed/LSPlant"
|
||||||
licenses {
|
licenses {
|
||||||
license {
|
license {
|
||||||
name.set("GNU Lesser General Public License v3.0")
|
name = "GNU Lesser General Public License v3.0"
|
||||||
url.set("https://github.com/LSPosed/LSPlant/blob/master/LICENSE")
|
url = "https://github.com/LSPosed/LSPlant/blob/master/LICENSE"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
developers {
|
developers {
|
||||||
developer {
|
developer {
|
||||||
name.set("Lsposed")
|
name = "Lsposed"
|
||||||
url.set("https://lsposed.org")
|
url = "https://lsposed.org"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
scm {
|
scm {
|
||||||
connection.set("scm:git:https://github.com/LSPosed/LSPlant.git")
|
connection = "scm:git:https://github.com/LSPosed/LSPlant.git"
|
||||||
url.set("https://github.com/LSPosed/LSPlant")
|
url = "https://github.com/LSPosed/LSPlant"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user