mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-24 19:15:32 +01:00
Fix local publishing
This commit is contained in:
parent
5b0d98f639
commit
aaaa97f781
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user