Skip to content

Commit

Permalink
Make sourcesJar dependency on syncSources explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
rickclephas committed Jun 11, 2023
1 parent ff20f04 commit 12ff814
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions kmp-nativecoroutines-compiler-embeddable/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ java {
withSourcesJar()
}

val sourcesJar by tasks.getting(Jar::class) {
dependsOn(syncSources)
}

tasks.compileKotlin.configure {
dependsOn(syncSources)
kotlinOptions {
Expand Down
2 changes: 1 addition & 1 deletion kmp-nativecoroutines-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tasks.compileKotlin {
dependsOn(copyVersionTemplate)
}

val sourcesJar by tasks.getting {
val sourcesJar by tasks.getting(Jar::class) {
dependsOn(copyVersionTemplate)
}

Expand Down

0 comments on commit 12ff814

Please sign in to comment.