Skip to content

Commit

Permalink
fixup! jpms / kotlin task dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon committed Feb 22, 2024
1 parent e58d7c0 commit dcf620a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build-logic/src/main/kotlin/pklKotlinLibrary.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,11 @@ val reportMergeSarif by tasks.registering(ReportMergeTask::class) {
input.from(detektTasks.map { it.sarifReportFile })
}

tasks.compileJava {
mustRunAfter(tasks.compileKotlin)
}

tasks.compileTestJava {
mustRunAfter(tasks.compileTestKotlin)
}

val javac: JavaCompile by tasks.named("compileJava", JavaCompile::class)
tasks.compileKotlin.configure {
destinationDirectory = javac.destinationDirectory
}

javac.apply {
dependsOn(tasks.compileKotlin)
mustRunAfter(tasks.compileKotlin)
Expand Down

0 comments on commit dcf620a

Please sign in to comment.