Skip to content

Commit

Permalink
Grace Plugin Databinding: Generating Spring Boot configuration metada…
Browse files Browse the repository at this point in the history
…ta files

Closes gh-669
  • Loading branch information
rainboyan committed Oct 30, 2024
1 parent 1879d77 commit 7d76506
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion grace-plugin-databinding/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
dependencies {
dependencies {
api project(":grace-api")
api project(":grace-plugin-api")
api project(":grace-web-databinding")

api libs.spring.boot.autoconfigure
annotationProcessor libs.spring.boot.autoconfigureProcessor
annotationProcessor libs.spring.boot.configurationProcessor

testImplementation project(":grace-test-support")
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.AnnotationAwareOrderComparator;

import grails.core.GrailsApplication;
Expand Down Expand Up @@ -50,7 +51,7 @@
* @since 2022.0.0
*/
@AutoConfiguration
@AutoConfigureOrder
@AutoConfigureOrder(Ordered.LOWEST_PRECEDENCE)
@EnableConfigurationProperties(DataBindingConfigurationProperties.class)
@ImportAutoConfiguration(DefaultConvertersConfiguration.class)
public class DataBindingConfiguration {
Expand Down

0 comments on commit 7d76506

Please sign in to comment.