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
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':1.20.6:yamlangConvertMainResources' (type 'YamlangConvertor').
- Method 'doConversion' 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 text was updated successfully, but these errors were encountered:
Gradle 8.12 introduced a hard error when private methods are annotated with
@TaskAction
or similar annotations. This is the case in this plugin for thedoConversion
method:yamlang/src/main/java/me/fallenbreath/yamlang/YamlangConvertor.java
Lines 24 to 26 in 1459138
Gradle Output
The text was updated successfully, but these errors were encountered: