Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Prepare worldedit-libs for shadow upgrade
Dieser Commit ist enthalten in:
Ursprung
a18f26f8af
Commit
05bf211d73
@ -13,6 +13,7 @@ dependents of `-core` to compile and work with WorldEdit's API.
|
||||
|
||||
*/
|
||||
configure(subprojects + project("core:ap")) {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
apply plugin: 'com.jfrog.artifactory'
|
||||
@ -23,7 +24,8 @@ configure(subprojects + project("core:ap")) {
|
||||
|
||||
group = rootProject.group + ".worldedit-libs"
|
||||
|
||||
tasks.register("jar", ShadowJar) {
|
||||
tasks.replace("jar", ShadowJar)
|
||||
tasks.withType(ShadowJar).named("jar").configure {
|
||||
configurations = [project.configurations.shade]
|
||||
classifier = ""
|
||||
|
||||
@ -69,11 +71,15 @@ configure(subprojects + project("core:ap")) {
|
||||
}
|
||||
|
||||
artifacts {
|
||||
add("default", jar)
|
||||
add("archives", sourcesJar)
|
||||
add("default", jar) {
|
||||
builtBy(jar)
|
||||
}
|
||||
add("archives", sourcesJar) {
|
||||
builtBy(sourcesJar)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("install", Upload) {
|
||||
tasks.withType(Upload).named("install").configure {
|
||||
configuration = configurations.archives
|
||||
repositories.mavenInstaller {
|
||||
pom.version = project.version
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren