Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-19 22:40:16 +01:00
Fix local publishing
Dieser Commit ist enthalten in:
Ursprung
77edd45f10
Commit
9c7a2ef2db
@ -42,7 +42,6 @@ subprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
|
||||||
sonatypeSnapshots()
|
sonatypeSnapshots()
|
||||||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
||||||
maven("https://nexus.velocitypowered.com/repository/velocity-artifacts-snapshots/")
|
maven("https://nexus.velocitypowered.com/repository/velocity-artifacts-snapshots/")
|
||||||
|
@ -10,7 +10,7 @@ fun Project.configureShadowJar() {
|
|||||||
apply<ShadowPlugin>()
|
apply<ShadowPlugin>()
|
||||||
tasks {
|
tasks {
|
||||||
withType<ShadowJar> {
|
withType<ShadowJar> {
|
||||||
archiveClassifier.set("")
|
archiveClassifier.set("jar")
|
||||||
archiveFileName.set("ViaVersion-${project.name.substringAfter("viaversion-").capitalize()}-${project.version}.jar")
|
archiveFileName.set("ViaVersion-${project.name.substringAfter("viaversion-").capitalize()}-${project.version}.jar")
|
||||||
destinationDirectory.set(rootProject.projectDir.resolve("build/libs"))
|
destinationDirectory.set(rootProject.projectDir.resolve("build/libs"))
|
||||||
//minimize() // ?
|
//minimize() // ?
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
tasks {
|
tasks {
|
||||||
val universalJar = register<Jar>("universalJar") {
|
val universalJar = register<Jar>("universalJar") {
|
||||||
artifacts.add("archives", this)
|
artifacts.add("archives", this)
|
||||||
archiveClassifier.set("")
|
archiveClassifier.set("jar")
|
||||||
archiveFileName.set("ViaVersion-${project.version}.jar")
|
archiveFileName.set("ViaVersion-${project.version}.jar")
|
||||||
destinationDirectory.set(rootProject.projectDir.resolve("build/libs"))
|
destinationDirectory.set(rootProject.projectDir.resolve("build/libs"))
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren