Skip to content

Commit

Permalink
GenerateAutoRoutes dependency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsvedin committed Nov 12, 2024
1 parent a52f427 commit 466b8e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/KiteUiPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class KiteUiPlugin : Plugin<Project> {
generateAutoroutes(sources, out)
}
afterEvaluate {
tasks.findByName("compileKotlinMetadata")?.dependsOn(task)
tasks.filter { it.name.contains("compileKotlin") }.forEach { it.dependsOn(task) }
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle-plugin/src/main/kotlin/KiteUiPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class KiteUiPlugin : Plugin<Project> {
generateAutoroutes(sources, out)
}
afterEvaluate {
tasks.findByName("compileKotlinMetadata")?.dependsOn(task)
tasks.filter { it.name.contains("compileKotlin") }.forEach { it.dependsOn(task) }
}
}

Expand Down

0 comments on commit 466b8e5

Please sign in to comment.