Skip to content

Commit

Permalink
Generate Spring Boot configuration metadata file
Browse files Browse the repository at this point in the history
Closes gh-12
  • Loading branch information
rainboyan committed Oct 27, 2024
1 parent 0d31bdd commit 31c12cb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -89,6 +92,10 @@ test {
useJUnitPlatform()
}

tasks.named('compileJava') {
inputs.files(tasks.named('processResources'))
}

publishing {
publications {
maven(MavenPublication) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"groups": [],
"properties": [
{
"name": "grails.plugin.fields.widgetPrefix",
"type": "java.lang.String",
"description": "The default prefix of attributes.",
"defaultValue": "widget-"
}
],
"hints": []
}

0 comments on commit 31c12cb

Please sign in to comment.