| commit | 7c7dc22b18f5562cb7efc612bc169c503fada409 | [log] [tgz] |
|---|---|---|
| author | David Estes <davydotcom@hey.com> | Sun Oct 05 20:26:53 2025 -0400 |
| committer | David Estes <davydotcom@hey.com> | Sun Oct 05 20:27:00 2025 -0400 |
| tree | 09c54edccd2b1d3c583212f5fe14025c964f8264 | |
| parent | 34995494125312b500a7400e0f6f596d7c35f1fc [diff] |
detect if we are using application.yml vs groovy and inject spring configuration in the yml instead
See documentation for detailed information.
To build this project from source, first bootstrap gradle:
cd gradle-bootstrap gradle cd -
After bootstrap the project, you can build it with the command:
./gradlew build
To run the build only, and skip the tests, run:
./gradlew build -PskipTests
Then publish the jar files to mavenLocal for usage:
./gradlew publishToMavenLocal
7.0.x compatible with Grails 76.0.x compatible with Grails 65.0.x compatible with Grails 54.0.x compatible with Grails 43.3.x compatible with Grails 3.3.x3.2.x compatible with Grails 3.2.xGrails 7 requires disabling any Spring Security Auto Configurations you may have in your classpath. This can be done via annotation or application.yml e.g.
spring: autoconfigure: exclude: - org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration - org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration - org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration - org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration - org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientAutoConfiguration - org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration - org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration