fix tweaker build, don't include schematica api

This commit is contained in:
Wagyourtail 2022-12-12 13:12:14 -07:00
parent 35b7c48430
commit 2ce60fbb79
No known key found for this signature in database
GPG Key ID: 0D30679891BED858
3 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,7 @@ dependencies {
// because of multiple sourcesets `common project(":")` doesn't work
for (sourceSet in rootProject.sourceSets) {
if (sourceSet == rootProject.sourceSets.test) continue
if (sourceSet == rootProject.sourceSets.schematica_api) continue
common sourceSet.output
shadowCommon sourceSet.output
}

View File

@ -50,6 +50,7 @@ dependencies {
// because of multiple sourcesets `common project(":")` doesn't work
for (sourceSet in rootProject.sourceSets) {
if (sourceSet == rootProject.sourceSets.test) continue
if (sourceSet == rootProject.sourceSets.schematica_api) continue
common sourceSet.output
shadowCommon sourceSet.output
}

View File

@ -59,6 +59,7 @@ dependencies {
// because of multiple sourcesets `common project(":")` doesn't work
for (sourceSet in rootProject.sourceSets) {
if (sourceSet == rootProject.sourceSets.test) continue
if (sourceSet == rootProject.sourceSets.schematica_api) continue
common sourceSet.output
shadowCommon sourceSet.output
}
@ -69,6 +70,13 @@ shadowJar {
classifier "dev-shadow"
}
remapJar {
inputFile.set shadowJar.archiveFile
dependsOn shadowJar
classifier null
}
jar {
classifier "dev"