diff --git a/build.gradle b/build.gradle index 72cd71d..c1cf331 100644 --- a/build.gradle +++ b/build.gradle @@ -53,6 +53,9 @@ dependencies { compileOnly "org.graceframework:grace-boot" compileOnly "jakarta.servlet:jakarta.servlet-api:$servletApiVersion" + api "org.springframework.boot:spring-boot-autoconfigure" + annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor" + annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" documentation "org.fusesource.jansi:jansi:$jansiVersion" documentation "com.github.javaparser:javaparser-core:$javaParserCoreVersion" @@ -89,6 +92,10 @@ test { useJUnitPlatform() } +tasks.named('compileJava') { + inputs.files(tasks.named('processResources')) +} + publishing { publications { maven(MavenPublication) { diff --git a/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/src/main/resources/META-INF/additional-spring-configuration-metadata.json new file mode 100644 index 0000000..6ed234b --- /dev/null +++ b/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -0,0 +1,12 @@ +{ + "groups": [], + "properties": [ + { + "name": "grails.plugin.fields.widgetPrefix", + "type": "java.lang.String", + "description": "The default prefix of attributes.", + "defaultValue": "widget-" + } + ], + "hints": [] +} \ No newline at end of file