Ilias Goormans
10/09/2025, 2:42 PMIlias Goormans
10/09/2025, 2:42 PM@Repeatable
@DestinationNothing(
wrappers = [MyWrapper::class]
)
annotation class AuthenticatedDestinationT: Annotation
Feature X module:
@NavGraphExternalModuleGraph
internal annotation class FeatureXNavGraph
@AuthenticatedDestinationFeatureXNavGraph
internal annotation class FeatureXDestination(
val start: Boolean = false
)
@FeatureXDestination(
start = true
)
@Composable
internal fun FeatureXScreen() { ... }Rafael Costa
10/09/2025, 6:04 PMRafael Costa
10/09/2025, 6:08 PMIlias Goormans
10/09/2025, 10:54 PM./gradlew kspDebugKotlin and got a compile error because of unresolved references in my imports as the generated destinations are cleaned and not generated again.
> Task :x:compileDebugKotlin FAILED
e: file:///Users/dev/AndroidStudioProjects/.../src/main/kotlin/.../FeatureXOverviewScreen.kt:36:71 Unresolved reference 'FeatureXDetailScreenDestination'.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':featurex:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
Compared to my other modules, only the _ModuleRegistry_FeatureX file is generated. No generated destinations under com.ramcosta.composedestinations.generated.featurex , which were generated when the AuthenticatedDestination and wrapper were defined in the FeatureX module instead of another module.Rafael Costa
10/13/2025, 7:38 AMRafael Costa
10/13/2025, 7:40 AMIlias Goormans
10/13/2025, 7:46 AMRafael Costa
10/13/2025, 7:47 AMIlias Goormans
10/13/2025, 7:48 AMIlias Goormans
10/13/2025, 7:49 AMRafael Costa
10/13/2025, 7:49 AMIlias Goormans
10/13/2025, 7:49 AMRafael Costa
10/13/2025, 7:52 AMRafael Costa
10/13/2025, 7:53 AMIlias Goormans
10/13/2025, 7:53 AMRafael Costa
10/13/2025, 7:54 AMIlias Goormans
10/13/2025, 7:59 AMRafael Costa
10/13/2025, 8:01 AM