-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
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.The source codes: https://github.com/hantsy/cargotracker-regapp-kotlin-multiplatform/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels