Skip to content

"Route not available" for release builds, works in debug #944

Closed Answered by see-mack
see-mack asked this question in Q&A
Discussion options

You must be logged in to vote

🙌 Figured it out. I needed to add a "release" version of the workaround you'd posted for this issue

val kspReleaseTask = tasks.named<KspTaskJvm>("kspReleaseKotlin")
    tasks.named<KotlinCompile>("kaptGenerateStubsReleaseKotlin").configure {
        source(kspReleaseTask.flatMap { it.destination })
    }

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@see-mack
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by see-mack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #942 on October 09, 2023 00:44.