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 {
|
||||
mavenLocal()
|
||||
sonatypeSnapshots()
|
||||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
||||
maven("https://nexus.velocitypowered.com/repository/velocity-artifacts-snapshots/")
|
||||
|
@ -10,7 +10,7 @@ fun Project.configureShadowJar() {
|
||||
apply<ShadowPlugin>()
|
||||
tasks {
|
||||
withType<ShadowJar> {
|
||||
archiveClassifier.set("")
|
||||
archiveClassifier.set("jar")
|
||||
archiveFileName.set("ViaVersion-${project.name.substringAfter("viaversion-").capitalize()}-${project.version}.jar")
|
||||
destinationDirectory.set(rootProject.projectDir.resolve("build/libs"))
|
||||
//minimize() // ?
|
||||
|
@ -1,7 +1,7 @@
|
||||
tasks {
|
||||
val universalJar = register<Jar>("universalJar") {
|
||||
artifacts.add("archives", this)
|
||||
archiveClassifier.set("")
|
||||
archiveClassifier.set("jar")
|
||||
archiveFileName.set("ViaVersion-${project.version}.jar")
|
||||
destinationDirectory.set(rootProject.projectDir.resolve("build/libs"))
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren