mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2025-12-22 16:29:23 +00:00
Proper publishing setup (#17)
* Attempt at fixing published artifact * wohoo it works * attempt at excluding bootstrap's shadow jar from publishing * Update gradle, fix publishing (aka, dont publish shadowed bootstrap build to maven) * Don't apply shadow plugin for the converter * why are we publishing the lib as an artifact...? * make these implementation * Shade bedrock-pack-schema into pack-schema-api
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
plugins {
|
||||
id("application")
|
||||
`java-library`
|
||||
application
|
||||
id("com.github.johnrengelman.shadow") apply true
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
resources {
|
||||
srcDir("src/main/java/resources")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -11,10 +21,5 @@ application {
|
||||
}
|
||||
|
||||
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
||||
from("src/main/java/resources") {
|
||||
include("*")
|
||||
}
|
||||
|
||||
archiveFileName.set("PackConverter.jar")
|
||||
archiveClassifier.set("")
|
||||
}
|
||||
Reference in New Issue
Block a user