Thomas Rasmussen
03/28/2025, 1:24 PM./gradlew check
I get the following error:
FAILURE: Build failed with an exception
Where:
Build file '/home/thomas/workspace/ufst/kuda/kuda/dataplatform/build.gradle' line 6
* What went wrong:
An exception occurred applying plugin request [id: 'org.grails.plugins.views-markup', version: '4.0.0M3']
> Failed to apply plugin 'org.grails.plugins.views-markup'.
> Could not create task ':dataplatform:compileGmlViews'.
> Could not create task of type 'MarkupViewCompilerTask'.
> The constructor for type MarkupViewCompilerTask should be annotated with @Inject.
The constructor is not marked with the Jakarta @Inject annotation (as the error says):
https://github.com/apache/grails-views/blob/7.0.x/views/gradle-plugin/src/main/groovy/grails/views/gradle/markup/MarkupViewCompilerTask.groovy#L27
Some of the other tasks have the annotation, fx:
https://github.com/apache/grails-views/blob/7.0.x/views/gradle-plugin/src/main/groovy/grails/views/gradle/json/JsonViewCompilerTask.groovy#L19
I don't know if that could be the error or if I have some other issue?jdaugherty
03/28/2025, 1:26 PMThomas Rasmussen
03/28/2025, 1:27 PMThomas Rasmussen
03/28/2025, 5:18 PMjdaugherty
03/28/2025, 5:39 PMThomas Rasmussen
03/28/2025, 5:44 PM