mirror of
https://github.com/GeyserMC/PackConverter.git
synced 2026-01-06 15:41:51 +00:00
* 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
25 lines
463 B
Plaintext
25 lines
463 B
Plaintext
plugins {
|
|
`java-library`
|
|
application
|
|
id("com.github.johnrengelman.shadow") apply true
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
resources {
|
|
srcDir("src/main/java/resources")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(project(":converter"))
|
|
}
|
|
|
|
application {
|
|
mainClass.set("org.geysermc.pack.converter.bootstrap.Main")
|
|
}
|
|
|
|
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
|
|
archiveFileName.set("PackConverter.jar")
|
|
} |