Skip to content

fix(emojis): run generateEmojiList before KSP - #1582

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/emojis-ksp-generate-order
Sep 28, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
fix/emojis-ksp-generate-order

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

The Flipcash2 Build and Deploy run on code/cash (059570d) failed in :libs:emojis:kspReleaseKotlin:

Task ':libs:emojis:kspReleaseKotlin' uses this output of task ':libs:emojis:generateEmojiList' without declaring an explicit or implicit dependency.

#1576 added KSP (for Hilt) to libs/emojis. build.gradle.kts already makes every compile*Kotlin task depend on generateEmojiList, which writes into src/main/kotlin, but not the new ksp*Kotlin tasks. Nothing orders the two, so the release build fails whenever the generator happens to run first; that's what CI hit, and why it doesn't fail every time.

This extends the same dependsOn to ksp*Kotlin. With the generated folder deleted, running :libs:emojis:kspReleaseKotlin on its own now runs the generator first; on code/cash it doesn't.

The Flipcash2 release build on 059570d failed in
:libs:emojis:kspReleaseKotlin: Gradle rejected it for reading
generateEmojiList's output in src/main/kotlin without depending on it.

#1576 added KSP (for Hilt) to libs/emojis. The build already made every
compile*Kotlin task depend on generateEmojiList, but not the new ksp*Kotlin
tasks, so the two were unordered and the failure depends on which runs first.
Extend the same wiring to ksp*Kotlin.
@bmc08gt bmc08gt self-assigned this Sep 28, 2026
@github-actions github-actions Bot added the type: fix Bug fix label Sep 28, 2026
@bmc08gt
bmc08gt merged commit d7adf91 into code/cash Sep 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant