Release v7.0.0-RC2
[skip ci] Release v7.0.0-RC2
1 file changed
tree: f0a52e41745ba14c62c149d74da9727b14e8056b
  1. .github/
  2. buildSrc/
  3. etc/
  4. gradle/
  5. gradle-bootstrap/
  6. licenses/
  7. plugin-acl/
  8. plugin-cas/
  9. plugin-core/
  10. plugin-ldap/
  11. plugin-oauth2/
  12. plugin-rest/
  13. plugin-ui/
  14. .asf.yaml
  15. .gitignore
  16. .sdkmanrc
  17. build.gradle
  18. CODE_OF_CONDUCT.md
  19. DISCLAIMER
  20. gradle.properties
  21. gradlew
  22. gradlew.bat
  23. HEADER
  24. ISSUE_TEMPLATE.md
  25. LICENSE
  26. NOTICE
  27. README.md
  28. settings.gradle
README.md

Java CI

Grails Spring Security

See documentation for detailed information.

Building

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

Branch structure

  • 7.0.x compatible with Grails 7
  • 6.0.x compatible with Grails 6
  • 5.0.x compatible with Grails 5
  • 4.0.x compatible with Grails 4
  • 3.3.x compatible with Grails 3.3.x
  • 3.2.x compatible with Grails 3.2.x

Grails 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