1
0
mirror of https://github.com/GeyserMC/PackConverter.git synced 2025-12-19 14:59:21 +00:00
Files
Thunder/pack-schema/api/build.gradle.kts
chris 7a2caf6f5d 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
2024-03-13 14:34:58 +00:00

13 lines
461 B
Plaintext

dependencies {
compileOnlyApi(project(":bedrock-pack-schema")) // Available on compile, but not runtime classpath - we shade it in task below
implementation("com.google.code.gson:gson:2.10.1")
implementation("org.jetbrains:annotations:24.0.1")
}
val bedrockPackSchemaSourceSet = project(":bedrock-pack-schema").sourceSets.getByName("main")
tasks.jar {
from(bedrockPackSchemaSourceSet.output)
duplicatesStrategy = DuplicatesStrategy.WARN
}