Skip to content

Commit d7bff80

Browse files
committed
fix: minor packaging errors
1 parent fa3bdd9 commit d7bff80

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.gradle.kts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ allprojects {
112112
expand(map)
113113
}
114114

115-
exclude("*/.editorconfig")
115+
exclude("*/.editorconfig", ".cache/")
116116
}
117117

118118
withType<JavaCompile> {
@@ -124,8 +124,11 @@ allprojects {
124124
if (project !in excluded) {
125125
project(":xplat").afterEvaluate { dependsOn(tasks.named("runDatagen")) }
126126
}
127-
from("LICENSE*") {
128-
rename { "${project.name}-${it}" }
127+
128+
rootDir.listFiles { _, name -> name.startsWith("LICENSE") }?.let {
129+
from(it) {
130+
rename { file -> "${rootProject.name}-${file}" }
131+
}
129132
}
130133
}
131134

0 commit comments

Comments
 (0)