Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions libs/emojis/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ dependencies {
androidTestImplementation(libs.androidx.test.runner)
}

// Define the task to fetch and generate emoji data
// Define the task to fetch and generate emoji data. KSP reads src/main/kotlin too, so it
// has to wait for the generated sources as well as the Kotlin compile.
afterEvaluate {
tasks.matching { it.name.matches(Regex("compile.*Kotlin")) }.configureEach {
tasks.matching { it.name.matches(Regex("(compile|ksp).*Kotlin")) }.configureEach {
dependsOn("generateEmojiList")
}
}
Expand Down
Loading