Skip to content

PR #1 Merge grails-data-mapping & grails-geb into grails-core #14325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10,000 commits into from
Apr 22, 2025
Merged
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
11bf8e4
refactor: remove unused method in test
matrei Jan 22, 2025
4edc323
fix: replace usage of deprecated `BeanUtils.instantiate` method
matrei Jan 22, 2025
b25d820
refactor: replace deprecated `AbstractGlobalExtension` with `IGlobalE…
matrei Jan 22, 2025
4264dae
test: replace `@Ignore` with `@PendingFeature`
matrei Jan 22, 2025
0f435b9
test: remove `@Ignore` from passing `HasManyDefaultMappedBySpec` test
matrei Jan 22, 2025
fdfc89c
test: replace deprecated `@RunWith` with `@Suite`
matrei Jan 22, 2025
58750ee
refactor: replace deprecated `AccessControlException` with `SecurityE…
matrei Jan 22, 2025
5a09262
chore: update license headers for changes files
matrei Jan 22, 2025
6e59c57
ci: fix typo in step name
matrei Jan 22, 2025
85123f6
build: fix building with Groovy snapshots
matrei Jan 22, 2025
2c3a056
build: fix typo in `test-report/build.gradle`
matrei Jan 22, 2025
e05d6b8
test: use `@PendingFeatureIf` for selective test execution
matrei Jan 23, 2025
e8a5856
build: add system property for TCK test control (#790)
matrei Jan 24, 2025
9bf583a
ci: add Java version matrix with 17 and 21
matrei Jan 24, 2025
c00a24d
build: restore `groovy-test-junit5` for JUnit 5 compatibility
matrei Jan 24, 2025
b1463b2
build: use `compileOnlyApi` to expose AST transforms to downstream co…
matrei Jan 24, 2025
b72eb62
test: unignore passing test in `WhereMethodSpec`
matrei Jan 24, 2025
254c760
build: use `org.grails.grails-publish` for publishing
matrei Jan 24, 2025
9a8242a
fix(deps): bump `com.gradle.develocity` from `3.19` to `3.19.1`
matrei Jan 24, 2025
fc2b7d0
Merge pull request #1868 from grails/matrei/project-updates
matrei Jan 27, 2025
e446912
ci: publish snapshots to `libs-snapshots-local`
matrei Jan 27, 2025
080d381
ci: allow GORM implementation build triggers to continue on error
matrei Jan 27, 2025
1412429
ci: add job names in Java CI workflow
matrei Jan 27, 2025
7f15f74
Merge pull request #1871 from grails/matrei/ci-fixes
matrei Jan 27, 2025
7f9bd4e
Imported gorm-docs
jdaugherty Jan 27, 2025
5678c57
Rename rx to match gradle project (gorm-rx)
jdaugherty Jan 27, 2025
d8d8ca2
build(deps): remove incorrect `grails-core` API dependency
matrei Jan 28, 2025
1d325e3
build(deps): set correct `grails-core` `testImplementation` dependencies
matrei Jan 28, 2025
d8b16d4
build: add `sourcesJar` and `javadocJar` tasks
matrei Jan 28, 2025
c432a1e
Merge pull request #1873 from grails/matrei/fix-deps
matrei Jan 28, 2025
17ecfcb
Integrate gorm-docs into grails-data-mapping
jdaugherty Jan 27, 2025
d3b1c8a
Merge remote-tracking branch 'upstream/9.0.x' into 9.0.x
jdaugherty Jan 28, 2025
13604a3
Fix asciidoctor version syntax
jdaugherty Jan 28, 2025
eb23c32
Be sure to define inputs/outputs so gradle can properly cache groovydoc
jdaugherty Jan 28, 2025
0a16122
Merge pull request #1872 from jdaugherty/9.0.x
jdaugherty Jan 28, 2025
8b1cc84
exclude hibernate-core dependency
jamesfredley Feb 4, 2025
2ddbfff
add jboss-transaction-api dependency
jamesfredley Feb 4, 2025
89ccb91
remove doc change from Grails 3
jamesfredley Feb 4, 2025
85bf404
build: remove module dependency on `hibernate-ehcache`
matrei Feb 5, 2025
b00713a
build: explicitly exclude `hibernate-core` from `hibernate-ehcache`
matrei Feb 7, 2025
285efe8
build: add `jboss-transaction-api` for `hibernate-ehcache`
matrei Feb 8, 2025
56964cf
docs: update GORM in Spring Boot section
matrei Feb 8, 2025
eecb602
build: fix wrong dependency configuration
matrei Feb 8, 2025
b18878b
Switch grails-datastore-gorm-test back to api so SimpleMapDatastore c…
jdaugherty Feb 9, 2025
387a664
Merge pull request #1875 from grails/fixGormTestingSupport
jdaugherty Feb 9, 2025
0946ca2
fix: enable correct Spring auto-configuration in `boot-plugin`
matrei Feb 11, 2025
2867e36
ci: fix typo in `renovate.json` for `grails-datastore-async`
matrei Feb 11, 2025
4e1e78e
ci: update GitHub workflows
matrei Feb 11, 2025
aa1f718
test: fix `MongoDbGormAutoConfigurationSpec` failure due to misconfig…
matrei Feb 11, 2025
e5e1d0c
build: extract common build logic into `*-config.gradle` files
matrei Feb 11, 2025
e65a931
test: update `BsonPersistentEntityCodecSpec` for updated API
matrei Feb 11, 2025
3900e84
test: refactor `BookSpec` to not use try/catch in setup
matrei Feb 11, 2025
defda5a
test: remove Micronaut HttpClient dependency from `GlobalTemplateSpe`
matrei Feb 11, 2025
202e602
test: re-enable two passing tests in `MongoDbDataStoreSpringInitializ…
matrei Feb 11, 2025
89205f8
build: update develocity build scan and remote cache
matrei Feb 11, 2025
20847ad
test: clean up config in test applications
matrei Feb 11, 2025
3e93c25
refactor: remove `grails-app` from Grails MongoDB Plugin
matrei Feb 11, 2025
20b60f3
fix: update `MongodbGrailsPlugin` for Grails 7
matrei Feb 11, 2025
d93e30e
chore: cleanup unused imports
matrei Feb 11, 2025
a89c4b6
test: replace `@Ignore` with `@PendingFeature` in `LocalMongoUnitSpec`
matrei Feb 11, 2025
e503efc
test: replace deprecated `Package.getPackage()` usage in `MongoSpec`
matrei Feb 11, 2025
3807bc5
test: cleanup `UrlMappings` in `examples/gson-templates`
matrei Feb 11, 2025
ae4c180
build: refactor build configuration and update dependencies
matrei Feb 11, 2025
c49d3ec
ci: update mongodb settings
matrei Feb 11, 2025
fded9ce
ci: update mongodb versions
matrei Feb 11, 2025
17debfa
chore: remove author and developer info from `MongodbGrailsPlugin`
matrei Feb 11, 2025
043ca24
build: fix maven pom info for `views-json-templates`
matrei Feb 11, 2025
2886917
chore: remove unused version property `grailsViewsVersion`
matrei Feb 11, 2025
a67fd0b
ci: use v3 tag for `grails/github-actions`
matrei Feb 12, 2025
8400c48
ci: use v3 tag for `grails/github-pages-deploy-action`
matrei Feb 12, 2025
7600354
Include javadoc & groovydoc in the same jar and restore source inclusion
jdaugherty Feb 11, 2025
153bd20
Merge pull request #793 from grails/matrei/project-overhaul
matrei Feb 12, 2025
39259ec
Doc fixes from data-mapping merge attempt
jdaugherty Feb 12, 2025
182fbce
Merge pull request #794 from jdaugherty/9.0.x
jdaugherty Feb 12, 2025
5fdcbe7
ci: fix snapshot publishing by adding auth details (#795)
matrei Feb 12, 2025
30718bb
back to grails 7.0.0-SNAPSHOT
jamesfredley Feb 12, 2025
770e557
Merge pull request #398 from grails/back-to-grails-7.0.0-SNAPSHOT
jamesfredley Feb 13, 2025
91a7dff
BootStrap init closure servletContext cleanup
gsartori Feb 13, 2025
5726b33
BootStrap init closure servletContext cleanup
gsartori Feb 13, 2025
e8f6849
BootStrap init closure servletContext cleanup
gsartori Feb 13, 2025
d134561
Update plugin com.gradle.enterprise to v3.19.2
renovate[bot] Feb 18, 2025
8c0dd17
Merge pull request #957 from gsartori/9.0.x
jdaugherty Feb 19, 2025
ab9ebd8
Merge pull request #797 from gsartori/9.0.x
jdaugherty Feb 19, 2025
8b617dc
Merge pull request #397 from MichaelMorett/feature/fix-getting-started
jamesfredley Feb 19, 2025
fbe9a5e
Merge pull request #399 from grails/5.0.x
jamesfredley Feb 19, 2025
d3a4d04
Merge remote-tracking branch 'grails-database-migration/6.0.x' into m…
jamesfredley Feb 19, 2025
d49d195
remove gradle, github workflows, .gitignore and license
jamesfredley Feb 19, 2025
a0a1a48
update build
jamesfredley Feb 19, 2025
af54121
asciidoc consolidation into /docs
jamesfredley Feb 19, 2025
a0417fb
Update Grails 7 version to 9.0.x and point to new documentation location
jamesfredley Feb 19, 2025
6a4aa88
Merge pull request #955 from grails/exclude-hibernate-core
jamesfredley Feb 20, 2025
54db32a
Update example projects to set hibernate-ehcache dependency
jamesfredley Feb 20, 2025
58d464d
document hibernate-ehcache breaking change in documentation
jamesfredley Feb 20, 2025
bd70062
Update docs to be correctly nested and fix attribute issues
jdaugherty Feb 20, 2025
705a722
Remove ehcache configuration from gson-templates since it does not us…
jamesfredley Feb 20, 2025
73ce257
Merge pull request #961 from grails/hibernate-ehcache-breaking-change
jamesfredley Feb 20, 2025
c121692
Merge branch '9.0.x' into merge-database-migration-plugin
jamesfredley Feb 20, 2025
fe2af79
Merge pull request #800 from grails/hibernate-ehcache-breaking-change
jamesfredley Feb 20, 2025
b39e53a
Merge pull request #959 from grails/merge-database-migration-plugin
jamesfredley Feb 20, 2025
38ee06c
Allow loading classpath resources for sqlFile changesets
acanby Feb 20, 2025
280fe49
Remove "dataSource_" from bean name as dataSourceName of GroovyChange…
nobeans Feb 20, 2025
f6d4396
Removing documented command that was removed in commit 23b3ca66
jdaugherty Feb 20, 2025
76e17c1
Nullsafe
jdaugherty Feb 20, 2025
ca9ffc4
Update description of groovy change
jdaugherty Feb 20, 2025
ff35d87
Merge pull request #966 from grails/issue965
jdaugherty Feb 20, 2025
97e873e
Handle loading migrations from embedded jars (plugins)
jdaugherty Feb 20, 2025
65403c6
fix grails/gorm-hibernate5#973 (9.0.x)
zyro23 Feb 20, 2025
f21ce79
Merge pull request #985 from zyro23/issue-973
jdaugherty Feb 20, 2025
5888773
Exclude liquibase-commercial from being exported
jdaugherty Feb 20, 2025
0b35311
Merge pull request #971 from grails/groovyChangeDescription
jdaugherty Feb 20, 2025
be9edf6
Merge pull request #969 from grails/issue968
jdaugherty Feb 20, 2025
2b814d3
Merge pull request #986 from grails/excludeLiquibaseCommerical
jdaugherty Feb 20, 2025
3543296
Merge pull request #981 from grails/embeddedJarHandling
jdaugherty Feb 20, 2025
57d9ca8
Merge pull request #964 from grails/issue963
jdaugherty Feb 20, 2025
8c08069
Update dependency gradle to v8.13
renovate[bot] Feb 25, 2025
80a1a35
remove groovyVersion from gradle.properties
jamesfredley Mar 3, 2025
d0b58f8
Use snapshot versions
jamesfredley Mar 3, 2025
0a14dcd
use grails-bom version in buildscript{}
jamesfredley Mar 3, 2025
2a9fa9f
Merge pull request #989 from grails/remove-groovyVersion
jamesfredley Mar 3, 2025
25effc1
Update dependency org.asciidoctor:asciidoctor-gradle-jvm to v4.0.4
renovate[bot] Mar 3, 2025
6cf22e1
Merge branch '9.0.x' into renovate/gradle-8.x
jamesfredley Mar 3, 2025
f9bd588
Merge branch '9.0.x' into renovate/com.gradle.enterprise-3.x
jamesfredley Mar 3, 2025
22dac73
Merge pull request #916 from grails/renovate/asciidoctorgradleversion
jamesfredley Mar 3, 2025
c00e191
Merge pull request #939 from grails/renovate/com.gradle.enterprise-3.x
jamesfredley Mar 3, 2025
5792fb8
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v2.1
renovate[bot] Mar 3, 2025
81c6c1b
Merge pull request #944 from grails/renovate/gradle-8.x
jamesfredley Mar 3, 2025
32084a3
Merge pull request #953 from grails/renovate/com.gradle.common-custom…
jamesfredley Mar 3, 2025
92e2a05
use spring-boot-gradle-plugin version from grails-bom
jamesfredley Mar 4, 2025
d1b4b5b
add repo.grails.org
jamesfredley Mar 4, 2025
0e5e8ee
Merge pull request #990 from grails/use-more-version-grails-bom
jamesfredley Mar 4, 2025
803bb58
[skip ci] Switch to Grails 7.0.0-M3
jdaugherty Mar 4, 2025
e8934ba
[skip ci] fix release.yml for grails-core pre release workflow
jdaugherty Mar 4, 2025
698f450
[skip ci] grails 7.0.0-M3 release
jdaugherty Mar 4, 2025
62023e4
[skip ci] Release v9.0.0-M3
grails-build Mar 4, 2025
f57fe45
[skip ci] copy the staged release workflow from the data-mapping project
jdaugherty Mar 4, 2025
47ad46f
build: apply `nexus-publish` to the root project
matrei Mar 4, 2025
df9899a
Merge pull request #1880 from grails/matrei/nexus-root
jdaugherty Mar 4, 2025
dcf0b92
build: apply `grails-publish` in the root project (#1881)
matrei Mar 4, 2025
8f80a7d
build: workaround for `nexus-publish` issue (#1882)
matrei Mar 4, 2025
ec86f71
Merge pull request #1878 from grails/sourceAndJavadocFix
jdaugherty Mar 4, 2025
f31fc38
Include javadoc & groovydoc in the same jar and restore source inclusion
jdaugherty Feb 11, 2025
d76adc9
[skip ci] debugging publish options
jdaugherty Mar 4, 2025
fe169ff
[skip ci] remove javadocJar override
jdaugherty Mar 4, 2025
2f4335a
chore: Bump version to 9.0.0-SNAPSHOT
grails-build Mar 4, 2025
4c6d05c
[skip ci] fix publishing
jdaugherty Mar 4, 2025
12f2b93
[skip ci] Release v9.0.0-M3
grails-build Mar 4, 2025
e0c696b
[skip ci] grails 7.0.0-M3
jdaugherty Mar 4, 2025
5bd9b2c
[skip ci] switch to datastore version 9.0.0-M3
jdaugherty Mar 4, 2025
cf3085a
[skip ci] Release v9.0.0-M3
grails-build Mar 4, 2025
a1d5e11
[skip ci] add missing github pre release repo
jdaugherty Mar 4, 2025
6d03b87
[skip ci] add missing github pre release repo
jdaugherty Mar 4, 2025
dcb586b
chore: Bump version to 9.0.0-SNAPSHOT
grails-build Mar 4, 2025
22a7455
[skip ci] add staged repo
jdaugherty Mar 4, 2025
c8287aa
chore: Bump version to 9.0.0-SNAPSHOT
grails-build Mar 4, 2025
00e3d57
Merge pull request #988 from dertalai/7.2.x
jamesfredley Mar 4, 2025
5123b38
Merge pull request #991 from grails/988-merge-to-9.0.x
jdaugherty Mar 5, 2025
5020afc
chore: major project cleanup
matrei Mar 7, 2025
eeaae75
ci: fix problems
matrei Mar 7, 2025
5901ff4
build: add the `slf4jPreventExclusion` property
matrei Mar 7, 2025
8f7cdb7
use GrailsStringUtils.trimToNull() instead of apache commons version
jamesfredley Mar 7, 2025
56c646a
Merge pull request #993 from grails/use-GrailsStringUtils-trimToNull
jamesfredley Mar 7, 2025
9a2748c
build: pr feedback
matrei Mar 7, 2025
e0c7160
build: updated pr feedback
matrei Mar 7, 2025
a8258c9
Merge remote-tracking branch 'neo4j/8.2.x' into 9.0.x
jamesfredley Mar 7, 2025
64f6f80
Merge remote-tracking branch 'graphql/4.0.x' into 9.0.x
jamesfredley Mar 7, 2025
4091aa3
remove redundant files now that projects are part of grails-data-mapping
jamesfredley Mar 7, 2025
ee7d3ef
remove isReleaseVersion and always apply grails-publishing plugin
jamesfredley Mar 7, 2025
7fa8672
Merge pull request #1885 from grails/remove-isReleaseVersion
jamesfredley Mar 7, 2025
a742355
Merge branch '9.0.x' into consolidate-neo4j-graphql
jamesfredley Mar 7, 2025
846b324
back to grails 7.0.0-SNAPSHOT
jamesfredley Mar 7, 2025
35606cd
Merge pull request #992 from grails/matrei/project-cleanup
matrei Mar 7, 2025
3596a6d
Imported grails-data-hibernate5
jdaugherty Mar 8, 2025
834941e
Integrate grails-data-hibernate5
jdaugherty Mar 8, 2025
604ccbc
Imported mongodb
jdaugherty Mar 8, 2025
88a565a
Integrate Mongodb
jdaugherty Mar 8, 2025
ab48047
rename directories to start with grails-data
jamesfredley Mar 8, 2025
f5aefb6
update readmes
jamesfredley Mar 8, 2025
5da65ad
Merge pull request #1884 from grails/consolidate-neo4j-graphql
jamesfredley Mar 8, 2025
582e937
Switch to grails/grails-github-actions/deploy-github-pages@main
jdaugherty Mar 10, 2025
4da6693
Merge pull request #1932 from grails/switchGithubPages
jdaugherty Mar 10, 2025
ab43a14
Update for spring security plugin move & remove mavenLocal()
jdaugherty Mar 11, 2025
480fe9a
Split hibernate5, mongodb, and datastore tests
jdaugherty Mar 11, 2025
468f52b
Merge branch '9.0.x' into newMongoMerge
jamesfredley Mar 11, 2025
1efaacd
Add missing mongodb-version's
jamesfredley Mar 11, 2025
d548f9a
add mongodb-github-action to groovy-joint-workflow
jamesfredley Mar 11, 2025
739b47b
force dependency refresh
jamesfredley Mar 11, 2025
6c3ba4a
fix gradle.yml
jamesfredley Mar 11, 2025
b9d15e1
force refresh dependencies
jamesfredley Mar 11, 2025
9981a61
adjust matrix strategy and add mongodb-github-action for datastore build
jamesfredley Mar 11, 2025
26966c1
try again
jamesfredley Mar 11, 2025
a738a9a
Code review feedback:
jdaugherty Mar 11, 2025
0454905
Revert "force refresh dependencies"
jamesfredley Mar 11, 2025
af64464
Revert "force dependency refresh"
jamesfredley Mar 11, 2025
19f258c
feedback:
jdaugherty Mar 12, 2025
e5642b0
feedback: move up permissions where possible
jdaugherty Mar 12, 2025
a8d0a86
Remove .DS_Store
jdaugherty Mar 12, 2025
ac09eb7
fix: force tests to rerun in build
jdaugherty Mar 12, 2025
20a3f14
refactor: move the tck tests to main so they can be exported and impo…
jdaugherty Mar 12, 2025
9348516
fix the tck so it always runs
jdaugherty Mar 12, 2025
fb9db1f
feedback: rename simple datastore implementation
jdaugherty Mar 12, 2025
0d62678
ignore tests that were failing in prior releases
jdaugherty Mar 13, 2025
4e269ce
Adjust @PendingFeatureIf conditions on FirstAndLastMethodSpec
jamesfredley Mar 13, 2025
4ab0ba0
Merge branch 'newMongoMerge' of https://github.com/jdaugherty/grails-…
jamesfredley Mar 13, 2025
0f21e24
tests: do not not ignore tests in mongo that pass
jdaugherty Mar 13, 2025
89560ea
feedback: styling & removing debug
jdaugherty Mar 13, 2025
fcfec6c
Merge pull request #1933 from jdaugherty/newMongoMerge
jamesfredley Mar 13, 2025
2f3bbf0
refactor: improve the tck process to be lazy evaluated
jdaugherty Mar 14, 2025
9458682
Merge pull request #2069 from jdaugherty/newMongoMerge
jdaugherty Mar 15, 2025
67ac6f2
switch to apache github actions & use GITHUB_TOKEN where possible
jdaugherty Mar 18, 2025
2c1c6ed
use dependabot to update any action references
jdaugherty Mar 18, 2025
8177b71
Merge branch '9.0.x' into newMongoMerge
jamesfredley Mar 18, 2025
f3f07f6
feedback: simplifying build files
jdaugherty Mar 19, 2025
00fbc39
Merge pull request #2070 from jdaugherty/newMongoMerge
jdaugherty Mar 19, 2025
6fe43b2
apache coordinate changes
jdaugherty Apr 2, 2025
bac60fc
datamapping-hibernate -> data-hibernate-core
jdaugherty Apr 4, 2025
1d4e478
Merge pull request #2073 from jdaugherty/9.0.x
jdaugherty Apr 4, 2025
6d6a208
Disable mongo / hibernate tests while publishing
jdaugherty Apr 4, 2025
bda375a
Merge pull request #2074 from jdaugherty/9.0.x
jdaugherty Apr 4, 2025
6c30d77
comment out mongo since disabling isn't enough
jdaugherty Apr 4, 2025
4ef8b5d
Merge pull request #2075 from jdaugherty/9.0.x
jdaugherty Apr 4, 2025
082036c
Fix publish
jdaugherty Apr 4, 2025
9df2242
Merge pull request #2076 from jdaugherty/9.0.x
jdaugherty Apr 4, 2025
938acfa
simple-gorm -> grails-data-simple
jdaugherty Apr 4, 2025
9678bce
Merge pull request #2077 from jdaugherty/9.0.x
jdaugherty Apr 4, 2025
55168dd
missed renames for datastore -> datamapping
jdaugherty Apr 4, 2025
32b6df5
Merge pull request #2078 from jdaugherty/9.0.x
jdaugherty Apr 4, 2025
5827899
publish grails-datamapping-core-test
jdaugherty Apr 4, 2025
291fafc
Merge pull request #2079 from jdaugherty/9.0.x
jdaugherty Apr 4, 2025
a17a166
Use ge.apache.org instead of ge.grails.org
jdaugherty Apr 5, 2025
5d2b438
Fix mongodb doc publish for apache coordinate change
jdaugherty Apr 5, 2025
e6e083a
ci: try replacing 'supercharge/mongo` action
matrei Apr 8, 2025
8b6f99f
build: remove temporary dependency exclusions
matrei Apr 8, 2025
f2d1149
build: reset temporary rename measures
matrei Apr 8, 2025
6d6c18b
build: fix build errors
matrei Apr 8, 2025
703ecec
test: fix date comparison
matrei Apr 8, 2025
846e4c2
ci: update `groovy-joint-workflow` with mongodb service
matrei Apr 8, 2025
2661b63
ci: set correct env var `GRAILS_PUBLISH_RELEASE`
matrei Apr 8, 2025
3e79e64
build: additional maven coords corrections
matrei Apr 9, 2025
c6a022c
Merge pull request #2081 from matrei/fix-ci-mongo
matrei Apr 9, 2025
c947d3d
build: switch develocity instance
matrei Apr 10, 2025
856537b
chore: cleanup
matrei Apr 10, 2025
4e1a0aa
Merge pull request #2083 from matrei/switch-develocity
matrei Apr 10, 2025
bdacb04
build: revert to Develocity Plugin v3 due to incompatibility
matrei Apr 14, 2025
25e1247
build: remove workaround for `asset-pipeline`
matrei Apr 14, 2025
5c6d2f6
Merge pull request #2084 from matrei/build-updates
matrei Apr 14, 2025
324e880
build: update Develocity Plugin to v4
matrei Apr 14, 2025
879e109
test: fix flaky date comparison test failure
matrei Apr 14, 2025
957bd7f
Merge pull request #2085 from matrei/update-develocity
matrei Apr 14, 2025
ecc6088
build: update develocity auth (#2087)
matrei Apr 14, 2025
71b0349
Imported grails-data-mapping
jdaugherty Apr 18, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 17 additions & 0 deletions grails-data/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: 7.0.x
labels:
- "type: dependency upgrade"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch", "version-update:semver-minor"]
124 changes: 124 additions & 0 deletions grails-data/.github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
name-template: $RESOLVED_VERSION
tag-template: v$RESOLVED_VERSION
pull-request:
title-templates:
fix: '🐛 $TITLE (#$NUMBER)'
feat: '🚀 $TITLE (#$NUMBER)'
default: '$TITLE (#$NUMBER)'
autolabeler:
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'feature'
branch:
- '/feature\/.+/'
title:
- '/feat/i'
- label: 'documentation'
branch:
- '/docs\/.+/'
title:
- '/docs/i'
- label: 'maintenance'
branch:
- '/(chore|refactor|style|test|ci|perf|build)\/.+/'
title:
- '/(chore|refactor|style|test|ci|perf|build)/i'
- label: 'chore'
branch:
- '/chore\/.+/'
title:
- '/chore/i'
- label: 'refactor'
branch:
- '/refactor\/.+/'
title:
- '/refactor/i'
- label: 'style'
branch:
- '/style\/.+/'
title:
- '/style/i'
- label: 'test'
branch:
- '/test\/.+/'
title:
- '/test/i'
- label: 'ci'
branch:
- '/ci\/.+/'
title:
- '/ci/i'
- label: 'perf'
branch:
- '/perf\/.+/'
title:
- '/perf/i'
- label: 'build'
branch:
- '/build\/.+/'
title:
- '/build/i'
- label: 'deps'
branch:
- '/deps\/.+/'
title:
- '/deps/i'
- label: 'revert'
branch:
- '/revert\/.+/'
title:
- '/revert/i'
categories:
- title: '🚀 Features'
labels:
- 'feat'
- "type: enhancement"
- "type: new feature"
- "type: major"
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- "type: improvement"
- "type: bug"
- "type: minor"
- title: '📚 Documentation'
labels:
- 'docs'
- title: '🔧 Maintenance'
labels:
- 'maintenance'
- 'chore'
- 'refactor'
- 'style'
- 'test'
- 'ci'
- 'perf'
- 'build'
- "type: ci"
- "type: build"
- title: '⏪ Reverts'
labels:
- 'revert'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
- 'type: major'
minor:
labels:
- 'type: minor'
patch:
labels:
- 'type: patch'
default: patch
template: |
## What's Changed

$CHANGES

## Contributors

$CONTRIBUTORS
28 changes: 28 additions & 0 deletions grails-data/.github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"extends": [
"config:base"
],
"labels": ["type: dependency upgrade"],
"packageRules": [
{
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"matchPackagePatterns": ["*"],
"allowedVersions": "!/SNAPSHOT$/"
},
{
"matchPackagePatterns": [
"^org\\.codehaus\\.groovy"
],
"groupName": "groovy monorepo"
},
{
"matchPackageNames": [
"org.grails:grails-bom"
],
"groupName": "grails bom"
}
]
}
183 changes: 183 additions & 0 deletions grails-data/.github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
name: "Java CI"
on:
push:
branches:
- '[7-9]+.[0-9]+.x'
pull_request:
branches:
- '[7-9]+.[0-9]+.x'
permissions:
contents: read
packages: read
jobs:
datastore-build:
name: "Build Datastore Project"
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
java: [ 17, 21 ]
steps:
- name: "📥 Checkout the repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🔨 Run Build"
id: build
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew cleanTest build --continue -PonlyDatastoreTests
mongodb-build:
name: "Build Mongodb Project"
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
java: [ 17, 21 ]
mongodb-version: [ '5', '6', '7', '8' ]
services:
mongodb:
image: mongo:${{ matrix.mongodb-version }}
ports:
- 27017:27017
options: >-
--health-cmd "mongosh --eval 'db.adminCommand(\"ping\")'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: "📥 Checkout the repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🔨 Run Build"
id: build
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew cleanTest build --continue -PonlyMongodbTests
hibernate5-build:
name: "Build Hibernate5 Project"
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
java: [ 17, 21 ]
steps:
- name: "📥 Checkout the repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🔨 Run Build"
id: build
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew cleanTest build --continue -PonlyHibernate5Tests
publish:
if: github.event_name == 'push'
name: "Publish Snapshot"
needs: [datastore-build, hibernate5-build, mongodb-build]
runs-on: ubuntu-24.04
steps:
- name: "📥 Checkout the repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
java-version: 17
distribution: liberica
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "📤 Publish Snapshot artifacts"
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GRAILS_PUBLISH_RELEASE: 'false'
MAVEN_PUBLISH_URL: ${{ secrets.GRAILS_NEXUS_PUBLISH_SNAPSHOT_URL }}
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_USER }}
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PW }}
run: ./gradlew --no-build-cache publish
docs:
if: github.event_name == 'push'
needs: publish
runs-on: ubuntu-24.04
permissions:
contents: write # so gh-pages can be updated
steps:
- name: "📥 Checkout the repository"
uses: actions/checkout@v4
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: '17'
- name: "🐘 Setup Gradle"
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🔨 Build Docs"
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew docs
- name: "🚀 Publish to Github Pages"
uses: apache/grails-github-actions/deploy-github-pages@asf
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GRADLE_PUBLISH_RELEASE: 'false'
SOURCE_FOLDER: build/docs
trigger-build-gorm-impls:
if: github.event_name == 'push'
name: "Trigger Build in GORM Implementations"
needs: [publish]
runs-on: ubuntu-24.04
continue-on-error: true
steps:
- name: "📝 Store the target branch"
id: extract_branch
run: |
echo "🔍 Determine Target Branch"
TARGET_BRANCH=${GITHUB_REF#refs/heads/}
echo $TARGET_BRANCH
echo "value=${TARGET_BRANCH}" >> $GITHUB_OUTPUT
- name: "📝 Create Snapshot Message for the Workflow Dispatch"
id: dispatch_message
run: echo "value={\"message\":\"New Data Mapping Snapshots $(date) - $GITHUB_SHA\"}" >> $GITHUB_OUTPUT
- name: "📡 Invoke the Java CI workflow in GORM Hibernate6"
continue-on-error: true
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GRAILS_GH_TOKEN }} # must be a PAT since we're triggering on an external repo
script: |
try {
const result = await github.rest.actions.createWorkflowDispatch({
owner: 'apache',
repo: 'grails-data-hibernate6',
workflow_id: 'gradle.yml',
ref: '${{ steps.extract_branch.outputs.value }}'
});
console.log(result);
} catch(error) {
console.error(error);
core.setFailed(error);
}
Loading