Skip to content

Commit

Permalink
Shade bedrock-pack-schema into pack-schema-api
Browse files Browse the repository at this point in the history
  • Loading branch information
onebeastchris committed Mar 13, 2024
1 parent 64d1290 commit 3fe6198
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pack-schema/api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
dependencies {
api(project(":bedrock-pack-schema"))
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
}

0 comments on commit 3fe6198

Please sign in to comment.