Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running check on 0.24.0-alpha01 #628

Closed
sproctor opened this issue Jan 17, 2024 · 2 comments
Closed

Issue running check on 0.24.0-alpha01 #628

sproctor opened this issue Jan 17, 2024 · 2 comments
Milestone

Comments

@sproctor
Copy link

After switching to 0.24.0-alpha01 I get the follow error:

* What went wrong:
Some problems were found with the configuration of task ':module:generateMRandroidUnitTest' (type 'GenerateMultiplatformResourcesTask').
  - Gradle detected a problem with the following location: '.../build/generated/moko-resources/androidUnitTest/assets'.
    
    Reason: Task ':module:generateDebugLintModel' uses this output of task ':module:generateMRandroidUnitTest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

Adding the following workaround to my gradle build file resolves the issue:

afterEvaluate {
    tasks.named("generateDebugLintModel").configure { dependsOn("generateMRandroidUnitTest") }
    tasks.named("generateDebugLintReportModel").configure { dependsOn("generateMRandroidUnitTest") }
}
@Alex009
Copy link
Member

Alex009 commented Feb 5, 2024

should be fixed in 0.24.0-alpha-3
in #575

@sproctor
Copy link
Author

Thanks! It's fixed for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants