fix: minor packaging errors

This commit is contained in:
Ampflower 🌺 2025-03-13 15:14:18 -07:00
parent fa3bdd93bd
commit d7bff80e62
No known key found for this signature in database
GPG Key ID: FC0397C90D508D7F

View File

@ -112,7 +112,7 @@ allprojects {
expand(map)
}
exclude("*/.editorconfig")
exclude("*/.editorconfig", ".cache/")
}
withType<JavaCompile> {
@ -124,8 +124,11 @@ allprojects {
if (project !in excluded) {
project(":xplat").afterEvaluate { dependsOn(tasks.named("runDatagen")) }
}
from("LICENSE*") {
rename { "${project.name}-${it}" }
rootDir.listFiles { _, name -> name.startsWith("LICENSE") }?.let {
from(it) {
rename { file -> "${rootProject.name}-${file}" }
}
}
}