Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2171 commits
Select commit Hold shift + click to select a range
8ec6ae6
Initial publishing configuration for repo.grails.org
jdaugherty Oct 15, 2024
d7655c4
Merge pull request #524 from jdaugherty/5.0.x
jdaugherty Oct 15, 2024
71e7cba
Remove equals to fix pom developer
jdaugherty Oct 15, 2024
21920c7
Merge remote-tracking branch 'upstream/5.0.x' into 5.0.x
jdaugherty Oct 15, 2024
9035a48
Merge remote-tracking branch 'upstream/5.0.x' into 5.0.x
jdaugherty Oct 15, 2024
3cc12f9
Fix doc location
jdaugherty Oct 15, 2024
8e8afcd
Rename index page
jdaugherty Oct 15, 2024
f376106
Place ghpages in docs folder
jdaugherty Oct 15, 2024
5073e90
Fix old version references
jdaugherty Oct 15, 2024
f059a4f
Merge branch '5.0.x' into 6.0.x
jdaugherty Oct 15, 2024
af3a3bd
Update pac4jVersion to v5.7.7
renovate[bot] Oct 15, 2024
3220be4
Update dependency com.google.guava:guava to v33.3.1-jre
renovate[bot] Oct 15, 2024
16f103e
Update dependency com.nimbusds:nimbus-jose-jwt to v9.41.2
renovate[bot] Oct 15, 2024
c08c053
Merge pull request #526 from grails/renovate/com.nimbusds-nimbus-jose…
jdaugherty Oct 15, 2024
ba7ea80
Merge pull request #525 from grails/renovate/pac4jversion
jdaugherty Oct 15, 2024
46503c2
Update dependabot
jdaugherty Oct 15, 2024
7856e6a
Bump commons-codec:commons-codec from 1.16.0 to 1.16.1
dependabot[bot] Oct 15, 2024
e2a043c
Bump commons-codec:commons-codec from 1.16.0 to 1.16.1
dependabot[bot] Oct 15, 2024
9068506
Bump net.bytebuddy:byte-buddy from 1.14.11 to 1.14.19
dependabot[bot] Oct 15, 2024
068fc7e
Merge pull request #528 from grails/dependabot/gradle/6.0.x/commons-c…
jdaugherty Oct 15, 2024
32b0415
Merge pull request #510 from grails/renovate/guava-monorepo
jdaugherty Oct 15, 2024
03f759b
Update dependency commons-codec:commons-codec to v1.17.1
renovate[bot] Oct 15, 2024
f3dd564
Merge pull request #505 from grails/renovate/gradle-7.x
jdaugherty Oct 15, 2024
d5decab
Merge pull request #527 from grails/dependabot/gradle/5.0.x/commons-c…
jdaugherty Oct 15, 2024
92e5b89
Merge pull request #531 from grails/dependabot/gradle/6.0.x/net.byteb…
jdaugherty Oct 15, 2024
a968507
Merge pull request #512 from grails/renovate/commons-codec-commons-co…
jdaugherty Oct 15, 2024
ca5888b
Update plugin com.github.ben-manes.versions to v0.51.0
renovate[bot] Oct 15, 2024
664475b
Update gradle/wrapper-validation-action action to v3
renovate[bot] Oct 16, 2024
f3b23a4
Grails 7 support
jdaugherty Oct 16, 2024
c47fadc
Merge remote-tracking branch 'upstream/6.0.x' into 6.0.x
jdaugherty Oct 16, 2024
ce7c2b7
Back porting changes from Grails 7 upgrade
jdaugherty Oct 16, 2024
3b9f83f
Merge branch '5.0.x' into 6.0.x
jdaugherty Oct 16, 2024
3a26091
Update github action to use java 17
jdaugherty Oct 16, 2024
07ab34e
Update documentation links for groovy api & user guide
jdaugherty Oct 16, 2024
c178dc3
Merge branch '5.0.x' into 6.0.x
jdaugherty Oct 16, 2024
53f6b1d
Merge pull request #540 from jdaugherty/5.0.x
jdaugherty Oct 16, 2024
ff4ddcd
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v2
renovate[bot] Oct 16, 2024
90d2bba
Merge pull request #543 from grails/renovate/com.gradle.common-custom…
jdaugherty Oct 16, 2024
139829a
Merge pull request #534 from grails/renovate/com.github.ben-manes.ver…
jdaugherty Oct 16, 2024
db9673e
fix docs for ascii doc upgrade
jdaugherty Oct 22, 2024
5ebae31
fix #515 - only allow refresh jwt tokens to be used on refresh
jdaugherty Oct 22, 2024
78cba81
update redis version in docs
jdaugherty Oct 22, 2024
87297b8
Merge pull request #538 from grails/renovate/gradle-wrapper-validatio…
jdaugherty Oct 22, 2024
33186cf
Update dependency com.nimbusds:nimbus-jose-jwt to v9.42
renovate[bot] Oct 28, 2024
fcc9394
Update dependency org.bouncycastle:bcprov-jdk18on to v1.79
renovate[bot] Oct 30, 2024
83bea12
Merge pull request #547 from grails/renovate/com.nimbusds-nimbus-jose…
jdaugherty Oct 30, 2024
7643af6
Merge pull request #549 from grails/renovate/org.bouncycastle-bcprov-…
jdaugherty Oct 30, 2024
0daa39e
Fix #551 - add missing argon2 & defaults for scrypt & pbkdf2 algorithms
jdaugherty Nov 4, 2024
9072b61
build - add release publishing back
jdaugherty Nov 4, 2024
e3d405f
build - release 5.0.0
jdaugherty Nov 4, 2024
d056b02
build - remove nexusPublishing since it's included with the grails gr…
jdaugherty Nov 4, 2024
2770520
build - switch to grailsPublish
jdaugherty Nov 4, 2024
0047960
build - add io.spring.dependency-management plugin to match other pro…
jdaugherty Nov 4, 2024
75f95da
build - add dependency to ensure the profile.yml is generated
jdaugherty Nov 4, 2024
42dbf88
build - release 5.0.0
jdaugherty Nov 4, 2024
f62d1f8
build - apply the nexus publish plugin so that grails publish works
jdaugherty Nov 4, 2024
5f1430c
build - remove sign configuration
jdaugherty Nov 4, 2024
3b1fe22
build - remove grails publish - it does support nested projects
jdaugherty Nov 4, 2024
c8692da
build - revert to snapshot to ensure snapshot is still working
jdaugherty Nov 4, 2024
35441f5
build - fix version check
jdaugherty Nov 4, 2024
4939a87
build - release 5.0.0
jdaugherty Nov 4, 2024
6ff32eb
build - cleanup for release
jdaugherty Nov 4, 2024
3137a5e
build - add back snapshot
jdaugherty Nov 4, 2024
6af9e63
build - fix release workflow
jdaugherty Nov 4, 2024
e7b1c9f
[skip ci] Release v5.0.0
grails-build Nov 4, 2024
786e824
[skip ci] - fix release workflow
jdaugherty Nov 6, 2024
622da50
[skip ci] - set nexus url directly instead of using organizational se…
jdaugherty Nov 6, 2024
bfe1c25
[skip ci] Release v5.0.0
grails-build Nov 6, 2024
3d1a796
[skip ci] - add group to workaround https://github.com/gradle-nexus/p…
jdaugherty Nov 6, 2024
acccb6b
Merge branch '5.0.x' into feature/mergeTo6
jdaugherty Nov 6, 2024
0eee695
Merge pull request #559 from jdaugherty/feature/mergeTo6
jdaugherty Nov 6, 2024
f9ade38
Merge pull request #553 from jdaugherty/6.0.x
jdaugherty Nov 6, 2024
68c96ca
Update ProxyAwareParameterNameDiscoverer.groovy
codeconsole Nov 12, 2024
6e4c505
Grails 7: further work, including getting tests working
bkoehm Nov 12, 2024
563ca95
Grails 7: GitHub Actions workflow
bkoehm Nov 13, 2024
ee46d46
Merge pull request #27 from bkoehm/bkoehm.grails7
bkoehm Nov 18, 2024
6e9782d
Grails 7: Publish artifacts
bkoehm Nov 18, 2024
979a4c5
Merge branch 'grails-plugins:5.0.x' into bkoehm.grails7
bkoehm Nov 18, 2024
1e03dd7
Grails 7: Remove artifactoryPublish.gradle and grailsPublish.gradle
bkoehm Nov 18, 2024
4295343
Merge pull request #28 from bkoehm/bkoehm.grails7
bkoehm Nov 19, 2024
1d1d35b
Grails 7: fix publishing
bkoehm Nov 19, 2024
5fefc2a
Grails 7: Fix package name for HashCodeBuilder in the testapp
bkoehm Nov 19, 2024
775f614
Grails 7: further work and get tests working
bkoehm Nov 19, 2024
4eea4a4
Grails 7: Publishing
bkoehm Nov 20, 2024
77a9489
Merge pull request #29 from bkoehm/bkoehm.grails7
bkoehm Nov 20, 2024
c1c0183
Update to 4.0.0-SNAPSHOT
jamesfredley Nov 20, 2024
515d8d1
Merge pull request #86 from grails/update-4.0.0-SNAPSHOT
jamesfredley Nov 20, 2024
703d3fa
Merge pull request #108 from bkoehm/bkoehm.6.0.x
bkoehm Nov 20, 2024
7fe25b7
Update to use new grails publish plugins
jdaugherty Nov 20, 2024
60f869f
Merge pull request #44 from bkoehm/bkoehm.5.0.x
bkoehm Nov 21, 2024
e05310b
Grails 7: remove unneeded asset-pipeline plugin from the functional-t…
bkoehm Nov 21, 2024
d5c417a
Merge remote-tracking branch 'origin/5.0.x' into bkoehm.5.0.x
bkoehm Nov 21, 2024
8722ce0
Merge pull request #47 from bkoehm/bkoehm.5.0.x
bkoehm Dec 2, 2024
8e9a410
switch to grails-publish
jdaugherty Dec 3, 2024
7b3c5ac
Merge pull request #561 from jdaugherty/6.0.x
jdaugherty Dec 3, 2024
7082b0d
Remove nexusPublishing customizations
jdaugherty Dec 3, 2024
6dadf69
Merge pull request #562 from jdaugherty/6.0.x
jdaugherty Dec 3, 2024
30df7de
Grails 7 - build cleanup related to grails-publish update
jdaugherty Dec 3, 2024
4b706e4
Merge pull request #48 from jdaugherty/5.0.x
jdaugherty Dec 3, 2024
0884dd7
Add missing url
jdaugherty Dec 3, 2024
67f313d
Merge pull request #49 from jdaugherty/5.0.x
jdaugherty Dec 3, 2024
8d81f9a
Grails 7: (#46) add notable changes to README.md for the 5.0.x versio…
bkoehm Dec 4, 2024
ce29a75
Grails 7: (#46) Update documentation with updated links and add @P an…
bkoehm Dec 4, 2024
a1a9419
Reorganization project, fix tests so they run, and standardize publis…
jdaugherty Dec 9, 2024
345e7a7
Merge pull request #30 from grails-plugins/action-standardization
jdaugherty Dec 9, 2024
42b509a
Switch back to the root when generating documentation
jdaugherty Dec 9, 2024
d4b3f3e
Merge pull request #31 from grails-plugins/action-standardization
jdaugherty Dec 9, 2024
63ca810
Fix docs
jdaugherty Dec 9, 2024
cfdc3f8
Fix FOLDER
jdaugherty Dec 9, 2024
e05481a
Grails 7: Per PR review, change 'compile' in Gradle examples to 'impl…
bkoehm Dec 9, 2024
52a62c4
Grails 7: Per PR review, change source,java to source,groovy and sour…
bkoehm Dec 9, 2024
2303302
Grails 7: Per PR review, change Spring Security document links to poi…
bkoehm Dec 9, 2024
4abb629
Remove unneeded COMMIT info
jdaugherty Dec 9, 2024
9145751
Grails 7: Per PR review, get rid of asciidoctor warnings
bkoehm Dec 9, 2024
dfc6776
Merge pull request #50 from bkoehm/bkoehm.5.0.x
bkoehm Dec 9, 2024
af6bd29
build: cleanup and standardize docs build file (#52)
matrei Dec 10, 2024
107a069
Update to asset-pipeline 5.0.3
jamesfredley Dec 12, 2024
6bd0894
remove hibernate-core-jakarta dependency which is transitive from hib…
jamesfredley Dec 12, 2024
43bbae6
Update gradle.properties
jamesfredley Dec 13, 2024
6332ddd
Merge pull request #109 from grails/update-asset-pipeline-5.0.3
jamesfredley Dec 13, 2024
4f4824b
Readme cleanups
gsartori Dec 20, 2024
80175f6
Grails 7: grails-spring-security-ui
bkoehm Oct 2, 2024
da8f0c4
Grails 7: convert to liberica
bkoehm Dec 17, 2024
20f0c1f
Grails 7: use ContainerGebSpec
bkoehm Dec 17, 2024
739bc78
Grails 7: remove uneeded versions from build configuration
bkoehm Dec 17, 2024
58f479c
Grails 7: update HashCodeBuilder package
bkoehm Dec 17, 2024
6d49a59
Grails 7: update mail plugin version
bkoehm Dec 17, 2024
322e811
Grails 7: initial work on tests
bkoehm Dec 17, 2024
cf47434
Grails 7: add layoutTitle to layouts
bkoehm Dec 17, 2024
2fce237
Fix setting the non-container url on the browser
jdaugherty Dec 18, 2024
a42eb51
Grails 7: Update usercache page to display statistics for a JSR-107 C…
bkoehm Dec 20, 2024
ee9bc1a
Grails 7: upgrade to asset-pipeline 5.0.5
bkoehm Dec 20, 2024
728c732
Grails 7: upgrade gradle wrapper to 8.12
bkoehm Dec 20, 2024
108e9f7
Grails 7: ignore failing testRegisterAndForgotPassword
bkoehm Dec 20, 2024
4caec31
Grails 7: For examples/simple, fix setting the non-container url on t…
bkoehm Dec 21, 2024
b799669
Grails 7: RoleSpec needs @Integration
bkoehm Dec 21, 2024
da5edc3
Grails 7: add Stepwise to tests
bkoehm Dec 20, 2024
aec0709
Grails 7: Change plugin grailsVersion requirement to 7.0.0-SNAPSHOT > *
bkoehm Dec 21, 2024
804724a
Grails 7: remove setting geb.env in build workflow
bkoehm Dec 21, 2024
fd3b824
ci: enhance workflows with build scans and caching
matrei Dec 21, 2024
f4ad8b0
ci: try another key for build scan auth
matrei Dec 21, 2024
5679a87
Update release.yml
codeconsole Dec 22, 2024
b92c909
Update release.yml
codeconsole Dec 22, 2024
3900a1c
Fix NEXUS_PUBLISH_URL
jdaugherty Dec 22, 2024
406a821
Fix NEXUS_PUBLISH_URL
jdaugherty Dec 22, 2024
7b7b9ca
Switch to grails/github-actions
jdaugherty Dec 22, 2024
ea1e429
Switch to grails/github-actions
jdaugherty Dec 22, 2024
defb935
Switch to grails/github-actions
jdaugherty Dec 22, 2024
69254cc
Switch to grails/github-actions
jdaugherty Dec 22, 2024
9b2cae5
Switch to grails/github-actions
jdaugherty Dec 22, 2024
142eafb
Switch to grails/github-actions
jdaugherty Dec 22, 2024
793550e
Switch to grails/github-actions
jdaugherty Dec 22, 2024
a4f942b
Switch to grails/github-actions
jdaugherty Dec 22, 2024
2262633
Switch to grails/github-actions
jdaugherty Dec 22, 2024
373677c
Switch to grails/github-actions
jdaugherty Dec 22, 2024
859fb03
Merge pull request #87 from gsartori/4.0.x
jamesfredley Dec 23, 2024
5e83ccd
[skip ci] pre-release 6.0.0-M1
jdaugherty Dec 24, 2024
7f30992
[skip ci] Release v6.0.0-M1
grails-build Dec 24, 2024
11b2825
chore: Bump version to 6.0.0-SNAPSHOT
grails-build Dec 24, 2024
768b885
Pre release 5.0.0-M1
jdaugherty Dec 24, 2024
1b6938e
Pre release 5.0.0-M1
jdaugherty Dec 24, 2024
cf23793
Fix docs workflow
jdaugherty Dec 24, 2024
0acbadd
[skip ci] Release v5.0.0-M1
grails-build Dec 24, 2024
2bb53f0
[skip ci] add group to workaround gradle-nexus/publish-plugin#310
jdaugherty Dec 24, 2024
972f5ca
[skip ci] Release v5.0.0-M2
grails-build Dec 24, 2024
e0d5fcc
chore: Bump version to 5.0.0-SNAPSHOT
grails-build Dec 24, 2024
6d0f33f
Merge remote-tracking branch 'origin/5.0.x' into bkoehm.5.0.x
bkoehm Jan 2, 2025
268a892
Merge pull request #160 from bkoehm/bkoehm.5.0.x
bkoehm Jan 2, 2025
bd9c6ea
Fix test suites (#164)
matrei Jan 7, 2025
541b161
ci: Fix and cleanup Github workflows
matrei Jan 7, 2025
69403cf
refactor: remove dependency on `commons-lang3`
matrei Jan 7, 2025
45e50ae
build: cleanup build files
matrei Jan 7, 2025
7052d4c
ci: remove unused environment variable
matrei Jan 7, 2025
29b88b1
docs: update documentation
matrei Jan 7, 2025
3c3116a
Merge pull request #165 from grails/matrei/fix-ci-workflows
matrei Jan 8, 2025
5fb4d0b
More updates for 7.0.0-M1 (#170)
matrei Jan 9, 2025
0b775e7
ci: fix condition for doc publishing step (#171)
matrei Jan 9, 2025
b4aee64
ci: set correct docs output folder (#172)
matrei Jan 9, 2025
34aa90f
build: rename root project to `grails-spring-security`
matrei Feb 13, 2025
345b734
build: rename `plugin` directory to `plugin-core`
matrei Feb 13, 2025
3b00072
Imported grails-spring-security-ui
matrei Feb 13, 2025
cf5dd47
Imported grails-spring-security-rest
matrei Feb 13, 2025
85973ef
Imported grails-spring-security-oauth2
matrei Feb 13, 2025
08116bc
Imported grails-spring-security-acl
matrei Feb 13, 2025
92b8001
Imported grails-spring-security-cas
matrei Feb 13, 2025
e705697
Imported grails-spring-security-ldap
matrei Feb 13, 2025
cf46dda
build: restructure `spring-security-core`
matrei Feb 13, 2025
dc41bd4
build: use `org.grails.grails-publish` Gradle plugin
matrei Feb 14, 2025
9a4c623
build: remove `grails-plugin-config.gradle`
matrei Feb 14, 2025
79308b8
build: rename `docs.gradle` to `docs-config.gradle`
matrei Feb 14, 2025
7282231
build: extract java version to `gradle.properties`
matrei Feb 14, 2025
553cad4
build: rename root project for clarity
matrei Feb 14, 2025
2096ce2
build: rename core plugin project for clarity
matrei Feb 14, 2025
aa82845
build: extract core plugin docs to a separate project
matrei Feb 14, 2025
49a54f0
build: update core project references in example projects
matrei Feb 14, 2025
58b13ae
build: add `grails-bom` to core example projects
matrei Feb 14, 2025
a5407fe
build: back to Grails 7.0.0-SNAPSHOT
matrei Feb 14, 2025
626c48c
build: remove `maven-publish` and `signing` plugins
matrei Feb 14, 2025
a4e76d5
test: remove `getPageSource()` method
matrei Feb 14, 2025
f4d5b99
build: clean up root build file
matrei Feb 14, 2025
43542db
build: resolve `asset-pipeline-gradle` from `grails-bom`
matrei Feb 14, 2025
d298351
build: add general version property to all subprojects
matrei Feb 14, 2025
6296de2
build: enable `acl` projects
matrei Feb 14, 2025
94abd94
build: move `acl` example projects to `examples` directory
matrei Feb 14, 2025
030b329
build: clean up Gradle plugin usage
matrei Feb 14, 2025
b253fb4
build: enable the `cas` projects
matrei Feb 14, 2025
6d803c8
build: consolidate test configuration into a single file
matrei Feb 20, 2025
2cc5914
build: remove `cleanBuild.gradle`
matrei Feb 20, 2025
3bdec4c
build: update Gradle Wrapper to 8.12.1
matrei Feb 20, 2025
293de90
build: cleanup dependencies
matrei Feb 20, 2025
8a49861
test(acl): migrate to `ContainerGebSpec`
matrei Feb 20, 2025
bafb1f8
test(core): change `@Ignore` to `@PendingFeature`
matrei Feb 20, 2025
bc61f90
chore: cleanup
matrei Feb 20, 2025
d376332
fix: migrate to `jakarta` in `error.gsp`
matrei Feb 20, 2025
4eef34e
build: enable `ldap` projects
matrei Feb 20, 2025
a60d3e4
build(acl): set the hibernate core version
matrei Feb 20, 2025
c24a62d
build: enable `oauth2` plugin
matrei Feb 20, 2025
ccd3efd
build: disable parallel execution for `ldap-examples` projects
matrei Feb 20, 2025
c597582
build: enable `rest` plugin
matrei Feb 21, 2025
8498238
build: enable `rest-testapp-profile`
matrei Feb 24, 2025
3debea4
build: declare direct dependencies in `rest` projects
matrei Feb 24, 2025
1cd85d2
build: set the snapshot repo for the test profile
matrei Feb 24, 2025
79e4513
build: add test dependency for Gradle 9 compatibility
matrei Feb 24, 2025
ad3dac9
build: enable `ui-plugin`
matrei Feb 24, 2025
6c3a819
fix: update `ContainerGebSpec`s
matrei Feb 24, 2025
5bca26f
build: remove old ui `build.gradle`
matrei Feb 24, 2025
acdc46e
build: increase Gradle memory
matrei Feb 24, 2025
7cd6d7e
fix: update Grails Plugin definitions
matrei Feb 24, 2025
9f3d1d8
Merge remote-tracking branch 'matrei/7.0.x' into matrei/merge-securit…
matrei Feb 24, 2025
96a7b74
ci: set correct project name for functional tests
matrei Feb 24, 2025
4ed6f33
build: add json mapper implementation to functional tests
matrei Feb 24, 2025
1360c38
test: fix `getWithAuth()` error
matrei Feb 24, 2025
d0350b8
test: fix another `getWithAuth()` error
matrei Feb 24, 2025
20f339a
build: add group to `rest-testapp-profile` project
matrei Feb 24, 2025
fb4c43e
build: fix `core-docs` generation
matrei Feb 24, 2025
cbb624d
ci: update `gradle.yml`
matrei Feb 24, 2025
219742c
ci: Update build scan and build cache config
matrei Feb 24, 2025
f4b40f8
build: disable some test output
matrei Feb 24, 2025
e5b0471
ci: set `--max-workers=2`
matrei Feb 24, 2025
90a687d
build(docs): fix guide docs generation
matrei Feb 25, 2025
7ab635b
refactor: remove individual LICENSE files
matrei Feb 26, 2025
81094c7
docs: remove unused `index.tmpl` files
matrei Feb 27, 2025
9afaa98
build: remove unused import in root `build.gradle`
matrei Feb 27, 2025
d05d4ff
build: add `clean` task to root project
matrei Feb 27, 2025
32e5e12
docs: update all README files
matrei Feb 27, 2025
af1e1fa
docs: aggregate all docs for publishing
matrei Feb 27, 2025
c535f4a
build: cleanup commented code
matrei Feb 27, 2025
90ab3e7
ci: update workflows of aggregated docs
matrei Feb 27, 2025
0f7feef
build: remove `hibernateVersion`
matrei Feb 27, 2025
0a30930
docs: remove author from cas guide
matrei Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
113 changes: 48 additions & 65 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java CI
name: "Java CI"
on:
push:
branches:
Expand All @@ -15,87 +15,70 @@ env:

jobs:
core-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- uses: actions/setup-java@v4
with: { java-version: 17, distribution: liberica }
- name: Run Tests
uses: gradle/actions/setup-gradle@v3
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
- name: "📥 Checkout repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
arguments: |
check
--refresh-dependencies
--continue

java-version: 17
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: "🏃‍♂️ Run Tests"
run: ./gradlew check --max-workers=2 --refresh-dependencies --continue
functional-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
test-config: [ 'static', 'annotation', 'requestmap', 'basic', 'basicCacheUsers', 'misc', 'putWithParams', 'bcrypt', 'issue503' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with: { java-version: 17, distribution: liberica }
- name: Run Tests
uses: gradle/actions/setup-gradle@v3
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
- name: "📥 Checkout repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
arguments: |
examples-functional-test-app:check
-DTESTCONFIG=${{ matrix.test-config }}

java-version: 17
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: "🏃‍♂️ Run Different Config Functional Tests"
run: ./gradlew core-examples-functional-test-app:check -DTESTCONFIG=${{ matrix.test-config }}
build:
if: github.event_name == 'push'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- uses: actions/setup-java@v4
with: { java-version: 17, distribution: liberica }
- name: Run Build
id: build
uses: gradle/actions/setup-gradle@v3
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
- name: "📥 Checkout repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
arguments: |
spring-security-core:build
--refresh-dependencies
-x javadoc

- name: Publish Snapshot artifacts to Artifactory (repo.grails.org)
uses: gradle/actions/setup-gradle@v3
if: success()
env:
ORG_GRADLE_PROJECT_artifactoryUsername: ${{ secrets.ARTIFACTORY_USERNAME }}
ORG_GRADLE_PROJECT_artifactoryPassword: ${{ secrets.ARTIFACTORY_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
java-version: 17
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
arguments: |
-Dorg.gradle.internal.publish.checksums.insecure=true
spring-security-core:publish
-x javadoc

- name: Generate Snapshot Documentation
if: success()
uses: gradle/actions/setup-gradle@v3
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: "📤 Publish Snapshot artifacts to Artifactory (repo.grails.org)"
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
with:
arguments: spring-security-core:docs

- name: Publish Snapshot Documentation to Github Pages
if: success()
uses: grails/github-pages-deploy-action@grails
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GRADLE_PUBLISH_RELEASE: 'false'
MAVEN_PUBLISH_USERNAME: ${{ secrets.MAVEN_PUBLISH_USERNAME }}
MAVEN_PUBLISH_PASSWORD: ${{ secrets.MAVEN_PUBLISH_PASSWORD }}
run: ./gradlew --no-build-cache publish
- name: "🔨 Generate Snapshot Documentation"
run: ./gradlew aggregateDocs
- name: "📤 Publish Snapshot Documentation to Github Pages"
uses: grails/github-pages-deploy-action@v3
env:
BRANCH: gh-pages
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
FOLDER: plugin/build/docs
FOLDER: build/docs
GH_TOKEN: ${{ secrets.GH_TOKEN }}
76 changes: 34 additions & 42 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,60 @@
name: Release
name: "Release"
on:
release:
types: [published]
env:
GIT_USER_NAME: 'grails-build'
GIT_USER_EMAIL: 'grails-build@users.noreply.github.com'
GIT_USER_NAME: grails-build
GIT_USER_EMAIL: grails-build@users.noreply.github.com
jobs:
release:
runs-on: ubuntu-latest
env:
GIT_USER_NAME: 'grails-build'
GIT_USER_EMAIL: 'grails-build@users.noreply.github.com'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: "📥 Checkout repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
distribution: liberica
java-version: 17
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: "📝 Store the current release version"
id: release_version
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
- name: Run pre-release
uses: grails/github-actions/pre-release@main
- name: Generate secring file
- name: "⚙️ Run pre-release"
uses: grails/github-actions/pre-release@v3
- name: "🔐 Generate key file for artifact signing"
env:
SECRING_FILE: ${{ secrets.SECRING_FILE }}
run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
- name: Publish to Sonatype
id: publish_to_sonatype
uses: gradle/actions/setup-gradle@v3
- name: "📤 Publish to Sonatype - close and release staging repository"
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeStagingProfileId: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
ORG_GRADLE_PROJECT_sonatypeNexusUrl: ${{ secrets.SONATYPE_NEXUS_URL }}
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GRAILS_PUBLISH_RELEASE: 'true'
NEXUS_PUBLISH_USERNAME: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
NEXUS_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
NEXUS_PUBLISH_URL: ${{ secrets.NEXUS_PUBLISH_RELEASE_URL }}
NEXUS_PUBLISH_STAGING_PROFILE_ID: ${{ secrets.NEXUS_PUBLISH_STAGING_PROFILE_ID }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
SECRING_FILE: ${{ secrets.SECRING_FILE }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
with:
arguments: |
-U
-Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg
publishToSonatype
closeAndReleaseSonatypeStagingRepository
- name: Generate Documentation
if: success()
uses: gradle/actions/setup-gradle@v3
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
with:
arguments: docs
- name: Publish Documentation to Github Pages
if: success()
uses: grails/github-pages-deploy-action@grails
run: >
./gradlew --refresh-dependencies
-Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg
publishToSonatype
closeAndReleaseSonatypeStagingRepository
- name: "🔨 Build Documentation"
run: ./gradlew aggregateDocs
- name: "📤 Publish Documentation to Github Pages"
uses: grails/github-pages-deploy-action@v3
env:
BRANCH: gh-pages
COMMIT_EMAIL: ${{ env.GIT_USER_EMAIL }}
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
FOLDER: plugin/build/docs
FOLDER: build/docs
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SKIP_SNAPSHOT: ${{ contains(steps.release_version.outputs.release_version, 'M') }}
SKIP_SNAPSHOT: ${{ contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
VERSION: ${{ steps.release_version.outputs.release_version }}
- name: Run post-release
if: steps.publish_to_sonatype.outcome == 'success'
uses: grails/github-actions/post-release@main
- name: "⚙️ Run post-release"
uses: grails/github-actions/post-release@v3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Grails Spring Security Core Plugin
==================================

See [documentation](https://grails-plugins.github.io/grails-spring-security-core/) for further information.
See [documentation](https://grails.github.io/grails-spring-security-core/latest/guide) for further information.

### Branch structure

Expand Down
51 changes: 23 additions & 28 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,45 +1,40 @@
import io.github.gradlenexus.publishplugin.InitializeNexusStagingRepository
import org.asciidoctor.gradle.jvm.AsciidoctorTask

plugins {
id 'io.github.gradle-nexus.publish-plugin'
String customGroovyVersion = findProperty('groovyVersion') ?: System.getenv('GROOVY_VERSION')
if (customGroovyVersion) {
logger.lifecycle("Using custom Groovy version: $customGroovyVersion")
}

version = projectVersion
ext.set('isSnapshot', projectVersion.endsWith('-SNAPSHOT'))
ext.set('isReleaseVersion', !isSnapshot)
subprojects {

version = projectVersion

if (isReleaseVersion) {
nexusPublishing {
String nexusUser = findProperty('sonatypeUsername')
String nexusPass = findProperty('sonatypePassword')
String nexusStagingProfileId = findProperty('sonatypeStagingProfileId')
repositories {
sonatype {
nexusUrl = uri('https://s01.oss.sonatype.org/service/local/')
username = nexusUser
password = nexusPass
stagingProfileId = nexusStagingProfileId
if (customGroovyVersion) {
configurations.configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'org.apache.groovy') {
details.useVersion(customGroovyVersion)
}
}
}
}
}
subprojects {
apply plugin: 'groovy'

version = rootProject.version
repositories {
mavenCentral()
maven { url = 'https://repo.grails.org/grails/core' }
if (groovyVersion.endsWith('-SNAPSHOT')) {
mavenCentral()
if (customGroovyVersion?.endsWith('-SNAPSHOT')) {
// Used for testing locally against the latest snapshot of Groovy
// Usage: ./gradlew build -P"groovyVersion=X.X.X-SNAPSHOT"
logger.lifecycle('Adding Groovy Snapshot Repo for project: {}, Using Groovy {}', name, customGroovyVersion)
maven {
name = 'JFrog Groovy snapshot repo'
url = 'https://groovy.jfrog.io/artifactory/libs-snapshot-local'
name = 'ASF Snapshot repo'
url = 'https://repository.apache.org/content/repositories/snapshots'
}
}
}
}

// Do not generate extra load on Nexus with new staging repository if signing fails
tasks.withType(InitializeNexusStagingRepository).configureEach {
shouldRunAfter tasks.withType(Sign)
tasks.register('clean', Delete) {
group = 'build'
delete layout.buildDirectory
}
2 changes: 1 addition & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repositories {
dependencies {
implementation platform("org.grails:grails-bom:${versions.get('grailsVersion')}")
implementation "org.asciidoctor:asciidoctor-gradle-jvm:${versions.get('asciidoctorGradlePluginVersion')}"
implementation "com.bertramlabs.plugins:asset-pipeline-gradle:${versions.get('assetPipelineGradlePluginVersion')}"
implementation 'com.bertramlabs.plugins:asset-pipeline-gradle'
implementation 'org.grails:grails-gradle-plugin'
testImplementation 'org.spockframework:spock-core'
}
Expand Down
49 changes: 0 additions & 49 deletions examples/functional-test-app/build.gradle

This file was deleted.

Loading
Loading