mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-08 18:54:44 +00:00
调整
This commit is contained in:
1 parent
b8bb1aac1e
commit
04d1ed54be
4 files changed
+25
-8
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import com.gtnewhorizons.retrofuturagradle.mcp.ReobfuscatedJar
|
||||
|
||||
plugins {
|
||||
id("com.gtnewhorizons.retrofuturagradle") version "2.0.2"
|
||||
}
|
||||
@@ -27,12 +29,16 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[forge-1.7.10]AllMusic_Client-${project.version}.jar")
|
||||
}
|
||||
|
||||
val reobfShadowJar = named<ReobfuscatedJar>("reobfShadowJar") {
|
||||
archiveFileName.set("[forge-1.7.10]AllMusic_Client-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
configurations.shadow.get().setExtendsFrom(listOf(configurations.named("shadowImplementation").get()))
|
||||
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
dependsOn(reobfShadowJar)
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
import com.gtnewhorizons.retrofuturagradle.mcp.ReobfuscatedJar
|
||||
|
||||
plugins {
|
||||
id("com.gtnewhorizons.retrofuturagradle") version "2.0.2"
|
||||
}
|
||||
@@ -31,15 +33,17 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[forge-1.12.2]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
|
||||
relocate("net.kyori", "com.coloryr.allmusic.libs.net.kyori")
|
||||
// relocate("com.google.gson", "com.coloryr.allmusic.libs.com.google.gson")
|
||||
}
|
||||
|
||||
val reobfShadowJar = named<ReobfuscatedJar>("reobfShadowJar") {
|
||||
archiveFileName.set("[forge-1.12.2]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
configurations.shadow.get().setExtendsFrom(listOf(configurations.named("shadowImplementation").get()))
|
||||
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
dependsOn(reobfShadowJar)
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
import com.gtnewhorizons.retrofuturagradle.mcp.ReobfuscatedJar
|
||||
|
||||
plugins {
|
||||
id("com.gtnewhorizons.retrofuturagradle") version "2.0.2"
|
||||
}
|
||||
@@ -31,15 +33,18 @@ tasks {
|
||||
|
||||
shadowJar {
|
||||
archiveFileName.set("[forge-1.7.10]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
|
||||
relocate("net.kyori", "com.coloryr.allmusic.libs.net.kyori")
|
||||
// relocate("com.google.gson", "com.coloryr.allmusic.libs.com.google.gson")
|
||||
}
|
||||
|
||||
val reobfShadowJar = named<ReobfuscatedJar>("reobfShadowJar") {
|
||||
archiveFileName.set("[forge-1.7.10]AllMusic_Server-${project.version}.jar")
|
||||
destinationDirectory.set(file("${parent!!.projectDir}/../build"))
|
||||
}
|
||||
|
||||
configurations.shadow.get().setExtendsFrom(listOf(configurations.named("shadowImplementation").get()))
|
||||
|
||||
build {
|
||||
dependsOn(shadowJar)
|
||||
dependsOn(reobfShadowJar)
|
||||
}
|
||||
}
|
||||
@@ -63,11 +63,13 @@ include(":onejar")
|
||||
include(":onejar:fabric_1_16_5")
|
||||
include(":onejar:fabric_1_20_1")
|
||||
include(":onejar:fabric_1_21")
|
||||
include(":onejar:fabric_1_21_4")
|
||||
include(":onejar:fabric_1_21_6")
|
||||
include(":onejar:fabric_1_21_11")
|
||||
include(":onejar:fabric_26_1")
|
||||
include(":onejar:fabric_26_2")
|
||||
include(":onejar:neoforge_1_21")
|
||||
include(":onejar:neoforge_1_21_4")
|
||||
include(":onejar:neoforge_1_21_6")
|
||||
include(":onejar:neoforge_1_21_11")
|
||||
include(":onejar:neoforge_26_1")
|
||||
|
||||
Reference in new issue
Block a user