1
0
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:
chris
2024-03-13 15:34:58 +01:00
committed by GitHub
parent 0a1114b22f
commit 7a2caf6f5d
11 changed files with 108 additions and 79 deletions

View File

@@ -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("")
}