Skip to content

Commit e171b20

Browse files
committed
Fix KSP suces code packaging
1 parent b549212 commit e171b20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

skainet-lang/skainet-lang-core/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ kotlin {
5454
}
5555
}
5656

57-
// Ensure KSP metadata task runs before any Kotlin compilation and other KSP tasks
57+
// Ensure KSP metadata task runs before any Kotlin compilation, other KSP tasks, and sourcesJar
5858
tasks.configureEach {
5959
if (name != "kspCommonMainKotlinMetadata" &&
60-
(name.startsWith("compileKotlin") || name.startsWith("ksp"))) {
60+
(name.startsWith("compileKotlin") || name.startsWith("ksp") || name.contains("ourcesJar"))) {
6161
dependsOn("kspCommonMainKotlinMetadata")
6262
}
6363
}

0 commit comments

Comments
 (0)