mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 22:27:31 +00:00
build: 不再使用 kuku-repo 作为发布仓库.
This commit is contained in:
parent
44b7b5122f
commit
c681ebc4c1
@ -51,17 +51,6 @@ publishing {
|
|||||||
password = project.properties["repo.credentials.self-git.password"].toString()
|
password = project.properties["repo.credentials.self-git.password"].toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val kukuRepoUrl = if (project.version.toString().endsWith("-SNAPSHOT", ignoreCase = true)) {
|
|
||||||
"https://nexus.kuku.me/repository/maven-snapshots/"
|
|
||||||
} else {
|
|
||||||
"https://nexus.kuku.me/repository/maven-releases/"
|
|
||||||
}
|
|
||||||
maven(kukuRepoUrl) {
|
|
||||||
credentials {
|
|
||||||
username = project.properties["repo.credentials.kuku-repo.username"].toString()
|
|
||||||
password = project.properties["repo.credentials.kuku-repo.password"].toString()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publications {
|
publications {
|
||||||
|
@ -60,17 +60,6 @@ publishing {
|
|||||||
password = project.properties["repo.credentials.self-git.password"].toString()
|
password = project.properties["repo.credentials.self-git.password"].toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val kukuRepoUrl = if (project.version.toString().endsWith("-SNAPSHOT", ignoreCase = true)) {
|
|
||||||
"https://nexus.kuku.me/repository/maven-snapshots/"
|
|
||||||
} else {
|
|
||||||
"https://nexus.kuku.me/repository/maven-releases/"
|
|
||||||
}
|
|
||||||
maven(kukuRepoUrl) {
|
|
||||||
credentials {
|
|
||||||
username = project.properties["repo.credentials.kuku-repo.username"].toString()
|
|
||||||
password = project.properties["repo.credentials.kuku-repo.password"].toString()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
publications {
|
publications {
|
||||||
|
Loading…
Reference in New Issue
Block a user