You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add Mockmp to my example project, which just include the initial codes from the KMP wizard, when run ./gradlew :composeApp:build -x test and got the following exceptions.
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':composeApp:mockmpExtractExpectKt' (type 'MocKMPExtractExpectKt').
- Method 'execute' is private and annotated with @TaskAction.
Reason: Annotations on private methods are ignored.
Possible solutions:
1. Make the method public.
2. Annotate the public version of the method.
For more information, please refer to https://docs.gradle.org/8.12/userguide/validation_problems.html#private_method_must_not_be_annotated in the Gradle documentation.
I tried to add Mockmp to my example project, which just include the initial codes from the KMP wizard, when run
./gradlew :composeApp:build -x test
and got the following exceptions.The source codes: https://github.com/hantsy/cargotracker-regapp-kotlin-multiplatform/
The text was updated successfully, but these errors were encountered: