Skip to content
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

#13552 Integrate docs from grails/grails-testing-support into grails-doc #948

Merged
merged 960 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
960 commits
Select commit Hold shift + click to select a range
fd43257
Update to Gradle 7.6.1 (#286)
puneetbehl May 3, 2023
9d4765d
Update dependency org.grails:grails-datastore-gorm-test to v8.0.0-M2 …
renovate[bot] May 3, 2023
6cdfe69
Code Reformatting
puneetbehl May 3, 2023
50d8e8a
Update grailsDocVersion to 6.0.0-M2
puneetbehl May 3, 2023
6a214e2
Add asciidoctor-gradle-plugin
puneetbehl May 3, 2023
47b5d33
[skip ci] Release v3.0.0-M1
puneetbehl May 3, 2023
7c00e27
Update Workflows
puneetbehl May 3, 2023
61f37ba
Back to snapshot
puneetbehl May 3, 2023
18950dc
Update plugin com.gradle.enterprise to v3.13.1 (#287)
renovate[bot] May 4, 2023
6ff5eb1
Update Grails Doc Version
puneetbehl May 4, 2023
6e074ef
Merge branch '3.0.x' of github.com:grails/grails-testing-support into…
puneetbehl May 4, 2023
8fd0e8a
[skip ci] Release v3.0.0-M2
puneetbehl May 4, 2023
6437abd
Back to 3.0.0-SNAPSHOT
puneetbehl May 4, 2023
82dc0c5
Update plugin com.gradle.enterprise to v3.13.2 (#288)
renovate[bot] May 11, 2023
d9e4cd6
Update dependency org.grails:grails-datastore-gorm to v8.0.0-RC1 (#292)
renovate[bot] May 22, 2023
591760f
Update dependency org.springframework.boot:spring-boot-test to v2.7.1…
renovate[bot] May 22, 2023
d3a76db
Update dependency org.grails:grails-gradle-plugin to v6.0.0-M4 (#290)
renovate[bot] May 22, 2023
97472eb
Update grails monorepo to v6.0.0-M4 (#289)
renovate[bot] May 22, 2023
bb2ecb2
Update dependency org.grails:grails-gradle-plugin to v6.0.0-RC1 (#293)
renovate[bot] May 23, 2023
4c57d18
Update grails monorepo to v6.0.0-RC1 (#294)
renovate[bot] May 23, 2023
3c1a1e7
Update dependency org.springframework:spring-test to v5.3.27 (#247)
renovate[bot] May 23, 2023
8a7cd61
Update Grails GSP to 6.0.0-RC1
puneetbehl May 23, 2023
cbb1c99
[skip ci] Release v3.0.0-RC1
puneetbehl May 23, 2023
7f7d111
Back to 3.0.0-SNAPSHOT
puneetbehl May 23, 2023
544c864
Update dependency org.springframework:spring-test to v5.3.29
renovate[bot] Jul 13, 2023
98211e2
Update dependency gradle to v7.6.2 (#299)
renovate[bot] Jul 21, 2023
2519a00
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.…
renovate[bot] Jul 21, 2023
a6d7880
Remove old deprecated set-output command
puneetbehl Jul 21, 2023
a5722f4
Update dependency org.grails.plugins:gsp to v6.0.0 (#300)
renovate[bot] Jul 21, 2023
4ca07c3
Update plugin com.gradle.enterprise to v3.14 (#295)
renovate[bot] Jul 21, 2023
6e31f58
Merge pull request #301 from grails/remove-set-output
puneetbehl Jul 21, 2023
77a75b1
Use grails branch for github-pages-deploy-action
puneetbehl Jul 21, 2023
6202018
Merge pull request #302 from grails/release-workflow
puneetbehl Jul 21, 2023
c4d870f
Update dependency org.grails:grails-datastore-gorm to v8.0.0
renovate[bot] Jul 21, 2023
949f5bd
Merge pull request #303 from grails/renovate/gormversion
puneetbehl Jul 21, 2023
f6be263
[skip ci] Release v3.0.0
puneetbehl Jul 21, 2023
2df71c5
Back to 3.0.1-SNAPSHOT
puneetbehl Jul 21, 2023
c72fbbe
Update dependency org.grails.plugins:views-gradle to v3
renovate[bot] Jul 22, 2023
51c1a03
Update grails monorepo to v6.0.0
renovate[bot] Jul 24, 2023
1a7aa38
Merge pull request #306 from grails/renovate/grails-monorepo
puneetbehl Aug 9, 2023
c85d742
Merge pull request #304 from grails/renovate/major-jsonviewsversion
puneetbehl Aug 9, 2023
757234a
Update dependency org.grails:grails-gradle-plugin to v6.0.0
renovate[bot] Aug 9, 2023
c587b5a
Merge pull request #297 from grails/renovate/spring-core
puneetbehl Aug 9, 2023
ecd8f31
Merge pull request #307 from grails/renovate/grailsgradlepluginversion
puneetbehl Aug 9, 2023
c07885f
Update dependency org.springframework.boot:spring-boot-test to v2.7.14
renovate[bot] Aug 9, 2023
cf7212f
Update plugin com.gradle.enterprise to v3.14.1
renovate[bot] Aug 9, 2023
6fae778
Update dependency org.grails.plugins:gsp to v6.0.1
renovate[bot] Aug 9, 2023
f34c4cd
Merge pull request #309 from grails/renovate/gspversion
puneetbehl Aug 10, 2023
baf2189
Merge pull request #308 from grails/renovate/com.gradle.enterprise-3.x
puneetbehl Aug 10, 2023
e093348
Merge pull request #298 from grails/renovate/spring-boot
puneetbehl Aug 10, 2023
0bfde0f
Update dependency org.springframework.boot:spring-boot-test to v2.7.15
renovate[bot] Aug 24, 2023
9a244b1
Merge pull request #310 from grails/renovate/spring-boot
puneetbehl Aug 25, 2023
3ccf454
Update dependency org.grails.plugins:gsp to v6.0.2
renovate[bot] Aug 25, 2023
65593ff
Update actions/checkout action to v4
renovate[bot] Sep 4, 2023
9365692
Update plugin com.gradle.enterprise to v3.15
renovate[bot] Sep 13, 2023
a57a9d6
Update junit5 monorepo
renovate[bot] Sep 19, 2023
8b5d244
Merge pull request #314 from grails/renovate/com.gradle.enterprise-3.x
puneetbehl Sep 25, 2023
8bf84ab
Update dependency org.springframework.boot:spring-boot-test to v2.7.16
renovate[bot] Sep 25, 2023
a128d9d
Merge pull request #311 from grails/renovate/gspversion
puneetbehl Sep 25, 2023
102483d
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.…
renovate[bot] Sep 25, 2023
8aaf901
Merge pull request #313 from grails/renovate/com.gradle.common-custom…
puneetbehl Sep 25, 2023
18802e9
Merge pull request #315 from grails/renovate/spring-boot
puneetbehl Sep 25, 2023
61dd1a9
Merge pull request #312 from grails/renovate/actions-checkout-4.x
puneetbehl Sep 25, 2023
5f529c4
Update actions/checkout digest to 8ade135
renovate[bot] Sep 25, 2023
59dd678
Update dependency org.grails:grails-datastore-gorm-test to v8.0.1
renovate[bot] Sep 26, 2023
5cc2cfa
Update grails-doc to 6.0.0
puneetbehl Sep 27, 2023
dde181b
Merge pull request #318 from grails/puneetbehl-patch-2
puneetbehl Sep 27, 2023
1985b89
Merge pull request #317 from grails/renovate/gormversion
puneetbehl Sep 27, 2023
bf6d9e4
Merge pull request #316 from grails/renovate/actions-checkout-digest
puneetbehl Sep 27, 2023
cd9ecac
Update gradle.properties
puneetbehl Sep 27, 2023
3db7fc7
Force update JUnit Platform and JUnit Jupiter
puneetbehl Sep 27, 2023
eab78dd
Merge branch '3.0.x' into renovate/junit5-monorepo
puneetbehl Sep 27, 2023
ff03c63
Merge pull request #305 from grails/renovate/junit5-monorepo
puneetbehl Sep 27, 2023
a701dab
Update Grails GSP to 6.0.3
puneetbehl Sep 27, 2023
99d6c42
Merge pull request #319 from grails/puneetbehl-patch-2
puneetbehl Sep 27, 2023
3855488
[skip ci] Release v3.0.1
puneetbehl Sep 28, 2023
7f8e51a
Back to 3.0.2-SNAPSHOT
puneetbehl Sep 28, 2023
f741538
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.…
renovate[bot] Sep 29, 2023
4c98915
Update dependency gradle to v7.6.3
renovate[bot] Oct 4, 2023
acb1ef1
Merge pull request #321 from grails/renovate/gradle-7.x
puneetbehl Oct 5, 2023
59f6a79
Merge pull request #320 from grails/renovate/com.gradle.common-custom…
puneetbehl Oct 5, 2023
c7dd917
Update plugin com.gradle.enterprise to v3.15.1
renovate[bot] Oct 5, 2023
1e134d0
Update dependency org.grails.plugins:gsp to v6.1.0
renovate[bot] Oct 5, 2023
2b870e1
Merge pull request #322 from grails/renovate/com.gradle.enterprise-3.x
puneetbehl Oct 6, 2023
f3c8360
Merge pull request #323 from grails/renovate/gspversion
puneetbehl Oct 6, 2023
48474d9
[skip ci] Release v3.1.0
puneetbehl Oct 6, 2023
08b0fa0
Back to 3.1.1-SNAPSHOT
puneetbehl Oct 6, 2023
b32ec3d
Update dependency org.springframework:spring-test to v5.3.30
renovate[bot] Oct 12, 2023
9dcd7a0
Merge pull request #324 from grails/renovate/spring-core
puneetbehl Oct 16, 2023
45a9b2a
Update dependency org.grails.plugins:views-gradle to v3.1.0
renovate[bot] Oct 18, 2023
04540fa
Merge pull request #326 from grails/renovate/jsonviewsversion
puneetbehl Oct 18, 2023
0dc6ceb
Update gormVersion to v8.0.2
renovate[bot] Oct 18, 2023
5927813
Update dependency org.springframework.boot:spring-boot-test to v2.7.17
renovate[bot] Oct 19, 2023
8fd83fa
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.12
renovate[bot] Oct 23, 2023
7f408c0
Merge pull request #329 from grails/renovate/com.gradle.common-custom…
puneetbehl Oct 25, 2023
8ebdf74
Update dependency org.grails:grails-gradle-plugin to v6.1.0
renovate[bot] Nov 4, 2023
8d3ba1a
Merge pull request #331 from grails/renovate/grailsgradlepluginversion
puneetbehl Nov 7, 2023
aa21932
Update junit5 monorepo
renovate[bot] Nov 7, 2023
d02f6a8
Update grails monorepo to v6.1.0
renovate[bot] Nov 7, 2023
b56f031
Merge pull request #332 from grails/renovate/junit5-monorepo
puneetbehl Nov 7, 2023
90320a3
Merge pull request #330 from grails/renovate/grails-monorepo
puneetbehl Nov 7, 2023
e316f14
Merge pull request #325 from grails/renovate/gormversion
puneetbehl Nov 7, 2023
e33bdeb
Merge pull request #328 from grails/renovate/spring-boot
puneetbehl Nov 7, 2023
33369d2
Update dependency org.grails.plugins:async to v5
renovate[bot] Nov 21, 2023
c6d50af
Update dependency org.springframework.boot:spring-boot-test to v2.7.18
renovate[bot] Nov 23, 2023
7c3af08
Update dependency org.grails.plugins:gsp to v6.1.1
renovate[bot] Nov 27, 2023
cbbd130
Merge pull request #336 from grails/renovate/gspversion
puneetbehl Nov 28, 2023
c68c261
Merge pull request #335 from grails/renovate/spring-boot
puneetbehl Nov 28, 2023
01509b1
Merge pull request #334 from grails/renovate/major-asyncversion
puneetbehl Nov 28, 2023
c4318a3
Update dependency org.springframework:spring-test to v5.3.31
renovate[bot] Nov 28, 2023
ea437a1
Merge pull request #333 from grails/renovate/spring-core
puneetbehl Nov 28, 2023
166db0a
Update project to Groovy 3.0.19 (#339)
matrei Dec 4, 2023
72a58fe
Update actions/setup-java action to v4 (#338)
renovate[bot] Dec 4, 2023
3d84af3
Update gormVersion to v8.0.3 (#337)
renovate[bot] Dec 4, 2023
0558153
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.…
renovate[bot] Dec 8, 2023
629aff9
Update plugin com.gradle.enterprise to v3.16 (#342)
renovate[bot] Dec 8, 2023
438682b
Back to Apache Groovy 3.0.11
puneetbehl Dec 8, 2023
b57ea6b
[skip ci] Release v3.1.1
puneetbehl Dec 8, 2023
bea476b
Back to 3.1.2-SNAPSHOT
puneetbehl Dec 8, 2023
d7bb61a
Update dependency org.grails.plugins:views-gradle to v3.1.1 (#345)
renovate[bot] Dec 11, 2023
71e733f
Update dependency org.grails.plugins:gsp to v6.1.2 (#346)
renovate[bot] Dec 11, 2023
864460b
Update dependency org.grails.plugins:async to v5.0.2 (#351)
renovate[bot] Jan 9, 2024
df7fcb1
Update plugin com.gradle.enterprise to v3.16.1 (#349)
renovate[bot] Jan 9, 2024
e21a48c
Update grails monorepo to v6.1.1 (#347)
renovate[bot] Jan 9, 2024
2d86ff2
Update dependency org.grails.plugins:gsp to v6.1.3 (#354)
renovate[bot] Jan 17, 2024
33b13f9
Update dependency org.grails:grails-datastore-gorm to v8.0.4 (#353)
renovate[bot] Jan 17, 2024
fa5f778
Update dependency org.asciidoctor:asciidoctor-gradle-jvm to v4.0.1 (#…
renovate[bot] Jan 17, 2024
cc99349
Update dependency org.javassist:javassist to v3.30.2-GA (#350)
renovate[bot] Jan 17, 2024
8f5cb13
Update dependency org.grails:grails-gradle-plugin to v6.1.1 (#348)
renovate[bot] Jan 17, 2024
63ddf67
Add groovy-joint-workflow (#355)
puneetbehl Jan 17, 2024
31f7516
Update groovy-joint-workflow.yml
puneetbehl Jan 17, 2024
d4392e8
[skip ci] Release v3.1.2
puneetbehl Jan 17, 2024
84c522f
Update to 3.1.3-SNAPSHOT
puneetbehl Jan 18, 2024
475a7d5
Update githubBranch
puneetbehl Jan 18, 2024
cfc572d
Update release.yml (#358)
puneetbehl Jan 18, 2024
acfb090
Update actions/cache action to v4 (#356)
renovate[bot] Jan 18, 2024
c49ae12
Update dependency org.grails.plugins:views-gradle to v3.1.2 (#357)
renovate[bot] Jan 18, 2024
d53d2ac
Update dependency com.github.javaparser:javaparser-core to v3.25.8 (#…
renovate[bot] Jan 18, 2024
54cbbf8
Add docs workflow (#359)
puneetbehl Jan 18, 2024
abad53c
Update dependency org.grails.plugins:gsp to v6.2.0 (#365)
renovate[bot] Feb 9, 2024
6627a0e
Update release-drafter/release-drafter action to v6 (#364)
renovate[bot] Feb 9, 2024
26d604a
Update dependency org.grails:grails-gradle-plugin to v6.1.2 (#363)
renovate[bot] Feb 9, 2024
3d5b0bc
Update dependency org.asciidoctor:asciidoctor-gradle-jvm to v4.0.2 (#…
renovate[bot] Feb 9, 2024
6d5146a
Update plugin com.gradle.enterprise to v3.16.2 (#360)
renovate[bot] Feb 9, 2024
f459c53
Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.…
renovate[bot] Feb 28, 2024
d44afba
Replace deprecated usages of `NavigableMap` (#369)
guillermocalvo Feb 28, 2024
2068345
Update dependency org.springframework:spring-test to v5.3.32 (#368)
renovate[bot] Feb 28, 2024
c4c9345
Update junit5 monorepo (#367)
renovate[bot] Feb 28, 2024
c8582db
Update dependency gradle to v7.6.4 (#366)
renovate[bot] Feb 28, 2024
e8b7b49
Update grails monorepo to v6.1.2 (#362)
renovate[bot] Feb 28, 2024
94cac50
chore: bum version to 3.2.0-SNAPSHOT
puneetbehl Feb 28, 2024
2f83ad5
chore(build): migrate to Develocity cache connector, simplify cache m…
puneetbehl Feb 28, 2024
52d5cce
Update gradle/gradle-build-action action to v3 (#372)
renovate[bot] Feb 28, 2024
0fb7663
Update dependency org.codehaus.groovy:groovy-test-junit5 to v3.0.20 (…
renovate[bot] Feb 28, 2024
a8af580
chore(deps): update plugin com.gradle.common-custom-user-data-gradle-…
renovate[bot] Mar 2, 2024
44d71b6
fix(deps): update dependency org.grails:grails-datastore-gorm to v8.1…
renovate[bot] Mar 2, 2024
c88cd66
fix(deps): update dependency com.github.javaparser:javaparser-core to…
renovate[bot] Mar 5, 2024
2a92731
fix(deps): update dependency org.grails.plugins:gsp to v6.2.1 (#380)
renovate[bot] Mar 6, 2024
2f62c56
fix(deps): update dependency org.codehaus.groovy:groovy-test-junit5 t…
renovate[bot] Mar 6, 2024
3443252
chore(ci): Update release workflow
puneetbehl Mar 6, 2024
04327b5
Merge pull request #381 from grails/chore/ci/release-workflow
puneetbehl Mar 6, 2024
a1d29dd
chore(release): fix release workflow configurations (#383)
puneetbehl Mar 6, 2024
cb05490
[skip ci] Release v3.2.0
puneetbehl Mar 6, 2024
80beb4a
Back to 3.2.1-SNAPSHOT
puneetbehl Mar 6, 2024
4932b3e
fix(deps): update gormversion to v8.1.1 (#384)
renovate[bot] Mar 7, 2024
38c4723
[skip ci] Release v3.2.1
puneetbehl Mar 7, 2024
a8ac458
Back to 3.2.2-SNAPSHOT
puneetbehl Mar 7, 2024
c6f0bac
fix(groovy): Groovy 4 compatibility (#385)
matrei Mar 9, 2024
35f26ec
chore(releasenotes): update workflow configurations (#387)
puneetbehl Mar 14, 2024
5bd4903
fix(deps): update dependency org.springframework:spring-test to v5.3.…
renovate[bot] Mar 14, 2024
d723662
chore(releasenotes): update workflow configuration (#390)
puneetbehl Mar 15, 2024
8d9b20f
Fall back to an empty list of datasources if none configured (#389)
guillermocalvo Mar 15, 2024
82c2a28
fix(deps): update gormversion to v8.1.2 (#388)
renovate[bot] Mar 15, 2024
97dcbbb
fix(deps): update dependency org.grails.plugins:views-gradle to v3.2.…
renovate[bot] Mar 25, 2024
1cf4361
[skip ci] Release v3.2.2
puneetbehl Mar 27, 2024
8b4ce72
chore: Bump version to 3.2.3-SNAPSHOT
puneetbehl Mar 27, 2024
feab936
fix(deps): update dependency org.grails.plugins:views-gradle to v3.2.…
renovate[bot] Apr 2, 2024
411fa1d
fix(deps): update dependency io.github.gradle-nexus:publish-plugin to…
renovate[bot] Apr 10, 2024
e75d371
fix(deps): update dependency org.grails:grails-plugin-domain-class to…
renovate[bot] Apr 10, 2024
02ebfd5
fix(deps): update dependency com.github.javaparser:javaparser-core to…
renovate[bot] Apr 10, 2024
bf05b15
chore(deps): update plugin com.gradle.common-custom-user-data-gradle-…
renovate[bot] Apr 10, 2024
ba481e4
fix(deps): update dependency org.grails.plugins:views-gradle to v3.2.…
renovate[bot] Apr 10, 2024
6695cb6
chore: Next development version 4.0.0-SNAPSHOT
matrei Jul 26, 2024
61c3802
Grails 7 compatibility (#405)
matrei Aug 14, 2024
5c2f3fe
Update several Grails 7 dependencies
jamesfredley Sep 5, 2024
552e779
Update grails docs version
jamesfredley Sep 5, 2024
c6d0569
Move force GROOVY 4 block to allprojects
jamesfredley Sep 5, 2024
6e24c08
Merge pull request #412 from grails/jamesfredley/update-dependencies-…
jamesfredley Sep 5, 2024
ff90002
Update to Gradle 8.10 (#413)
jamesfredley Sep 11, 2024
875ea01
fix(deps): update dependency org.springframework.boot:spring-boot-tes…
renovate[bot] Sep 11, 2024
a84a2b1
fix(deps): update dependency org.springframework:spring-test to v6.1.…
renovate[bot] Sep 11, 2024
a9c5394
chore(deps): update dependency gradle to v8.10.1 (#376)
renovate[bot] Sep 11, 2024
405aeb1
Move all versions numbers to gradle.properties and update dependencie…
jamesfredley Sep 24, 2024
318e60c
chore(deps): update dependency gradle to v8.10.2 (#418)
renovate[bot] Sep 24, 2024
9c9834c
fix(deps): update groovy monorepo to v4.0.23 (#419)
renovate[bot] Sep 24, 2024
22366a2
Remove Micronaut Parent Context
codeconsole Sep 25, 2024
54c9519
Merge pull request #421 from codeconsole/4.0.x-remove-micronaut
davydotcom Sep 25, 2024
c7706e6
switch from micronaut to spring ClassUtils
jamesfredley Sep 25, 2024
b02ae64
Merge pull request #424 from grails/jamesfredley/fix-GrailsApplicatio…
codeconsole Sep 25, 2024
0ce58de
catch exception in GrailsApplicationBuilder (#425)
jamesfredley Sep 25, 2024
a793484
Revert "catch exception in GrailsApplicationBuilder (#425)"
codeconsole Sep 25, 2024
f5dbd78
Merge pull request #426 from grails/revert-425-jamesfredley/fix-Grail…
codeconsole Sep 25, 2024
4806203
Support annotation config
codeconsole Sep 26, 2024
9de8c00
Merge pull request #429 from codeconsole/4.0.x-auto-config
codeconsole Sep 26, 2024
aadb56d
Fix #157 - Support @Before* and @After* methods; Restore ordering sim…
jdaugherty Sep 26, 2024
36c53d2
Reapply "catch exception in GrailsApplicationBuilder (#425)" (#430)
jamesfredley Sep 26, 2024
9ebcf46
GrailsAutoConfiguration registers conflicting grailsApplicationPostPr…
codeconsole Sep 29, 2024
5e8f581
Merge pull request #435 from codeconsole/4.0.x-remove-auto
codeconsole Sep 29, 2024
f938bff
Restore demo 33 (#433)
jamesfredley Sep 30, 2024
417721a
Update groovy joint workflow, branch list, link to snapshot docs and …
jamesfredley Sep 30, 2024
b5c2235
fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.3 (#422)
renovate[bot] Oct 1, 2024
136d7e7
re-enable views-json plugin and add dependsOn (#438)
jamesfredley Oct 3, 2024
6a9f654
use async 6.0.0-SNAPSHOT
codeconsole Oct 11, 2024
d7c92c3
Merge pull request #440 from codeconsole/4.0.x
codeconsole Oct 11, 2024
2eecb3e
add --refresh-dependencies
jamesfredley Oct 12, 2024
7fd5acd
fix(deps): update groovy monorepo to v4.0.24
renovate[bot] Nov 8, 2024
9938408
Updating for switch to ContainerGebSpec (#447)
jdaugherty Nov 8, 2024
4fcc3e7
chore(deps): update dependency gradle to v8.11.1
renovate[bot] Nov 20, 2024
8dd2e92
fix(deps): update dependency org.springframework.boot:spring-boot-tes…
renovate[bot] Nov 21, 2024
6a5a7db
register autoconfigurations dynamically
codeconsole Nov 22, 2024
d97a0bf
Fix tests
codeconsole Nov 22, 2024
8e3f5a7
Remove unused imports
codeconsole Nov 22, 2024
5079a3b
Merge pull request #449 from codeconsole/4.0.x-dynamic-autoconfigurat…
codeconsole Nov 22, 2024
c7beff7
Merge branch '4.0.x' into renovate/gradle-8.x
codeconsole Nov 22, 2024
affc240
Merge pull request #448 from grails/renovate/gradle-8.x
codeconsole Nov 22, 2024
02680ea
Merge branch '4.0.x' into renovate/groovy-monorepo
codeconsole Nov 22, 2024
15e23b0
Merge pull request #446 from grails/renovate/groovy-monorepo
codeconsole Nov 22, 2024
21cb440
Merge branch '4.0.x' into renovate/spring-boot
codeconsole Nov 22, 2024
79aaed9
Merge pull request #445 from grails/renovate/spring-boot
codeconsole Nov 22, 2024
e97495b
fix(deps): update dependency org.springframework:spring-test to v6.2.0
renovate[bot] Nov 22, 2024
1165e6b
Merge pull request #441 from grails/renovate/spring-core
codeconsole Nov 22, 2024
a78bcd5
[skip ci] Release v4.0.0-M1
puneetbehl Dec 12, 2024
8b646ff
chore: Bump version to 4.0.0-SNAPSHOT
puneetbehl Dec 12, 2024
49fd185
Update to asset-pipeline 5.0.3
jamesfredley Dec 12, 2024
b324a9e
make test cross-platform compatible
jamesfredley Dec 12, 2024
cbd80ba
Merge pull request #453 from grails/update-asset-pipeline-5.0.3
jamesfredley Dec 13, 2024
b54f3e1
Pre release workflow support & removing async from testing support to…
jdaugherty Dec 20, 2024
d6a8963
Merge pull request #457 from jdaugherty/4.0.x
jdaugherty Dec 20, 2024
b408595
[skip ci] Release v4.0.0-M2
grails-build Dec 21, 2024
bd02264
chore: Bump version to 4.0.0-SNAPSHOT
grails-build Dec 21, 2024
ffc9f45
Switch to grails/github-actions
jdaugherty Dec 22, 2024
afd4ce2
Switch to grails/github-actions
jdaugherty Dec 22, 2024
7a065a1
Switch to grails/github-actions
jdaugherty Dec 22, 2024
11223bb
back to snapshot of grails-core
jamesfredley Dec 27, 2024
d8347d9
Merge pull request #460 from grails/milestones-back-to-snapshot
jamesfredley Dec 27, 2024
cc09c00
fix docs task by adding grails-bom
jamesfredley Dec 27, 2024
8cfe371
Merge pull request #461 from grails/fix-docs-task
jamesfredley Dec 27, 2024
7e0c95d
Imported grails-async
jdaugherty Jan 16, 2025
14c7994
Integrate `docs` from grails/grails-testing-support
jdaugherty Jan 16, 2025
a4d186e
Remove left over build.gradle & gradle.properties
jdaugherty Jan 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 36 additions & 35 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id 'base'
id 'org.asciidoctor.jvm.convert' version '4.0.3'
id 'org.grails.grails-gdoc-to-asciidoc'
id 'groovy'
}

Expand All @@ -16,44 +15,24 @@ import org.apache.tools.ant.taskdefs.condition.Os
version = project.findProperty("grails.version")
archivesBaseName = "grails-docs"

ext.checkOutDir = project.layout.buildDirectory.dir('checkout').get().asFile.absolutePath
ext.grailsCheckOutDir = project.layout.buildDirectory.dir('grails-core/checkout').get().asFile.absolutePath
ext.grailsTestsCheckOutDir = project.layout.buildDirectory.dir('grails-functional-tests/checkout').get().asFile.absolutePath
ext.outputDir = layout.buildDirectory.file("docs").get().asFile.absolutePath
ext.githubSlug = "grails/grails-doc"
ext.githubBranch = project.findProperty("githubBranch") ?: "7.0.x"
ext.guidePage = "/docs/guide/single.html"
ext.indexPage = "/docs/index.html"

ext.explicitGrailsHome = System.getProperty("grails.home") ?: project.findProperty('grails.home')
ext.grailsHome = explicitGrailsHome ? file(explicitGrailsHome).absolutePath : "${checkOutDir}/grails-src"
ext.grailsHome = explicitGrailsHome ? file(explicitGrailsHome).absolutePath : "${grailsCheckOutDir}/grails-src"
ext.explicitGrailsFunctionalTestsHome = System.getProperty("grails.functional.test.home") ?: project.findProperty('grails.functional.test.home')
ext.grailsTestsHome = explicitGrailsFunctionalTestsHome ? file(explicitGrailsFunctionalTestsHome).absolutePath : "${grailsTestsCheckOutDir}/grails-functional-tests-src"
ext.projectVersion = project.version

configurations {
publish
configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if ((details.requested.group == 'org.codehaus.groovy' || details.requested.group == 'org.apache.groovy') && details.requested.name != 'groovy-bom') {
details.useTarget(group: 'org.apache.groovy', name: details.requested.name, version: "$groovyVersion")
details.because "The dependency coordinates are changed in Apache Groovy 4, plus ensure version"
}
}
}
}

gdoc2asciidoc {
apiLinks = ['org.hibernate' : 'https://docs.jboss.org/hibernate/orm/current/javadocs/',
'org.springframework.boot' : "https://docs.spring.io/spring-boot/docs/$springBootVersion/api",
'org.springframework' : "https://docs.spring.io/spring/docs/$springVersion/javadoc-api/",
'jakarta.servlet' : 'https://jakarta.ee/specifications/servlet/6.0/',
'java.' : 'https://docs.oracle.com/en/java/javase/17/docs/api/',
'groovy.' : 'https://docs.groovy-lang.org/docs/latest/html/api/',
'org.codehaus.groovy.grails': "https://docs.grails.org/$githubBranch/api",
'grails.orm.' : 'https://gorm.grails.org/latest/api',
'grails.gorm.' : 'https://gorm.grails.org/latest/api',
'grails.' : "https://docs.grails.org/$githubBranch/api",
'org.grails.' : "https://docs.grails.org/$githubBranch/api"
]
resourcesDir = file("resources")
srcDir = file("src/en")
dependencies {
implementation platform("org.grails:grails-bom:${project['grails.version']}")
implementation "org.grails:grails-docs"
implementation "org.apache.groovy:groovy"
}

task buildscriptDependencies(type: DependencyReportTask) {
Expand Down Expand Up @@ -111,17 +90,21 @@ tasks.register('fetchGrailsSource', grails.doc.FetchGrailsSourceTask) {
onlyIf { !explicitGrailsHome }
}

tasks.register('fetchGrailsTestsSource', grails.doc.FetchGrailsTestsSourceTask) {
onlyIf { !explicitGrailsTestsHome }
}

tasks.register("editProjectArtificat", Exec) {
onlyIf { project.hasProperty("editGrailsVersion") }
dependsOn 'fetchGrailsSource'
dependsOn 'fetchGrailsSource', 'fetchGrailsTestsSource'

executable Os.isFamily(Os.FAMILY_WINDOWS) ? "cmd" : "bash"
args Os.isFamily(Os.FAMILY_WINDOWS) ? "/c" : "-c", "sed -i 's/^projectVersion.*\$/projectVersion=$version/' ${grailsHome}/gradle.properties"
}

tasks.register("apiDocs", Exec) {
onlyIf { !System.getProperty("disable.groovydocs") }
dependsOn 'fetchGrailsSource'
dependsOn 'fetchGrailsSource', 'fetchGrailsTestsSource'

inputs.files(fileTree(grailsHome) {
exclude '**/*.lock'
Expand All @@ -144,8 +127,21 @@ tasks.register('extractPomVersions', grails.doc.ExtractPomVersionsTask) {
pomFile = downloadPom.outputs.files.singleFile
}

tasks.register('resolveGroovyVersion') {
group = 'documentation'
description = 'Resolve Groovy Version from the BOM'
ext.resolved = configurations.compileClasspath
.resolvedConfiguration
.resolvedArtifacts
.find {
it.moduleVersion.id.group == 'org.apache.groovy' &&
it.moduleVersion.id.name.contains('groovy')
}.moduleVersion.id.version
logger.lifecycle('Resolved Groovy version for Guide links: {}', resolved)
}

tasks.register('publishGuide', grails.doc.gradle.PublishGuide) {
dependsOn(['apiDocs', 'extractPomVersions', 'jar'])
dependsOn(['apiDocs', 'extractPomVersions', 'jar', 'resolveGroovyVersion'])
targetDir = project.layout.buildDirectory.dir("manual").get().asFile

doFirst {
Expand All @@ -163,9 +159,10 @@ tasks.register('publishGuide', grails.doc.gradle.PublishGuide) {
propertiesFiles = [new File(projectDir, "gradle.properties")]
asciidoc = true
properties = [
'safe' : 'UNSAFE',
'jakartaee' : "https://jakarta.ee/specifications/platform/10/apidocs/",
'javase' : "https://docs.oracle.com/en/java/javase/17/docs/api/",
'groovyapi' : "https://docs.groovy-lang.org/${groovyVersion}/html/gapi/",
'groovyapi' : "https://docs.groovy-lang.org/${resolveGroovyVersion.resolved}/html/gapi/",
'springapi' : "https://docs.spring.io/spring/docs/${springVersion}/javadoc-api/",
'springdocs' : "https://docs.spring.io/spring/docs/${springVersion}/",
'gspdocs' : "https://gsp.grails.org/${gspVersion}",
Expand All @@ -176,7 +173,11 @@ tasks.register('publishGuide', grails.doc.gradle.PublishGuide) {
'springBootReference': "https://docs.spring.io/spring-boot/docs/${springBootVersion}/reference",
'springBootVersion' : project.springBootVersion,
'springVersion' : project.springVersion,
'gradleVersion' : project.gradleVersion
'gradleVersion' : project.gradleVersion,
'GrailsVersion' : project['grails.version'],
'version' : project['grails.version'],
'sourcedir' : grailsHome,
'functionalSourceDir': grailsTestsHome,
]
// Parse the string content into Properties object
def props = new Properties()
Expand Down
18 changes: 3 additions & 15 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,8 @@ repositories {

compileJava.options.release = 17

configurations {
configureEach {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if ((details.requested.group == 'org.codehaus.groovy' || details.requested.group == 'org.apache.groovy') && details.requested.name != 'groovy-bom') {
details.useTarget(group: 'org.apache.groovy', name: details.requested.name, version: "$groovyVersion")
details.because "The dependency coordinates are changed in Apache Groovy 4, plus ensure version"
}
}
}
}

dependencies {
implementation "org.grails:grails-docs:${grailsDocsVersion}"
implementation "org.apache.groovy:groovy:$groovyVersion"
implementation "org.grails:grails-gdoc-engine:1.0.1"
implementation "org.grails:gdoc-to-asciidoc:1.0.1"
implementation platform("org.grails:grails-bom:$grailsDocsVersion")
implementation "org.grails:grails-docs"
implementation "org.apache.groovy:groovy"
}
12 changes: 6 additions & 6 deletions buildSrc/src/main/groovy/grails/doc/FetchGrailsSourceTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,32 @@ abstract class FetchGrailsSourceTask extends DefaultTask {
String grailsVersion = System.getenv('TARGET_GRAILS_VERSION')

@OutputDirectory
def checkOutDir = project.findProperty('checkOutDir') ?: project.layout.buildDirectory.dir("checkout")
def grailsCheckOutDir = project.findProperty('grailsCheckOutDir') ?: project.layout.buildDirectory.dir("grails-core/checkout")

@TaskAction
void fetchGrailsSource() {
if (!explicitGrailsHome) {
ant.mkdir(dir: checkOutDir)
ant.mkdir(dir: grailsCheckOutDir)

println "Downloading Grails source code. If you already have a copy " +
"of the Grails source code checked out you can avoid this download " +
"by setting the grails.home system property to point to your local " +
"copy of the source. See README.md for more information."

def zipFile = "${checkOutDir}/grails-src.zip"
def zipFile = "${grailsCheckOutDir}/grails-src.zip"
if (grailsVersion) {
ant.get(src: "https://github.com/grails/grails-core/archive/refs/tags/v${grailsVersion}.zip", dest: zipFile, verbose: true)
} else {
ant.get(src: "https://github.com/grails/grails-core/zipball/${project.githubBranch}", dest: zipFile, verbose: true)
}

ant.unzip(src: zipFile, dest: checkOutDir) {
ant.unzip(src: zipFile, dest: grailsCheckOutDir) {
mapper(type: "regexp", from: "(grails-core-\\S*?/)(.*)", to: "grails-src/\\2")
}

ant.chmod(file: "${checkOutDir}/grails-src/gradlew", perm: 700)
ant.chmod(file: "${grailsCheckOutDir}/grails-src/gradlew", perm: 700)

println "Grails source code has been downloaded to ${checkOutDir}"
println "Grails source code has been downloaded to ${grailsCheckOutDir}"
} else {
println "GRAILS HOME=${explicitGrailsHome}"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/**
* Copyright 2024 The Unity Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package grails.doc

import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Optional
import org.gradle.api.tasks.OutputDirectory
import org.gradle.api.tasks.TaskAction

/**
* Task to fetch the Grails source code.
*
* @author Puneet Behl
* @since 6.2.0
*/
abstract class FetchGrailsTestsSourceTask extends DefaultTask {

@Optional
@Input
String explicitGrailsTestsHome = project.findProperty('grails.functional.test.home') ?: null

@Optional
@Input
String grailsVersion = System.getenv('TARGET_GRAILS_VERSION')

@OutputDirectory
def grailsTestsCheckOutDir = project.findProperty('grailsTestsCheckOutDir') ?: project.layout.buildDirectory.dir("grails-functional-tests/checkout")

@TaskAction
void fetchGrailsTestsSource() {
if (!explicitGrailsTestsHome) {
ant.mkdir(dir: grailsTestsCheckOutDir)

println "Downloading Grails Functional Tests source code. If you already have a copy " +
"of the Grails Functional Tests source code checked out you can avoid this download " +
"by setting the grails.functional.test.home system property to point to your local " +
"copy of the source. See README.md for more information."

def zipFile = "${grailsTestsCheckOutDir}/grails-src.zip"
if (grailsVersion) {
ant.get(src: "https://github.com/grails/grails-functional-tests/archive/refs/heads/${grailsVersion.replaceFirst(/^(\d+\.\d+)\..*/, '$1.x')}.zip", dest: zipFile, verbose: true)
} else {
ant.get(src: "https://github.com/grails/grails-functional-tests/zipball/${project.githubBranch}", dest: zipFile, verbose: true)
}

ant.unzip(src: zipFile, dest: grailsTestsCheckOutDir) {
mapper(type: "regexp", from: "(grails-functional-tests-\\S*?/)(.*)", to: "grails-functional-test-src/\\2")
}

ant.chmod(file: "${grailsTestsCheckOutDir}/grails-functional-test-src/gradlew", perm: 700)

println "Grails Functional Tests source code has been downloaded to ${grailsTestsCheckOutDir}"
} else {
println "GRAILS TESTS HOME=${explicitGrailsTestsHome}"
}
}
}

4 changes: 4 additions & 0 deletions src/en/guide/async/events.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ The following table summarizes async framework support and the necessary depende
|`grails-events-rxjava2`
|`org.grails.events.rxjava2.RxEventBus`

|RxJava 3.x
|`grails-events-rxjava3`
|`org.grails.events.rxjava3.RxEventBus`

|===
4 changes: 2 additions & 2 deletions src/en/guide/async/events/asyncConsuming.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For example:
----
import grails.events.annotation.*
...
include::{sourcedir}/grails-async/grails-events-transform/src/test/groovy/grails/events/annotation/PubSubSpec.groovy[tags=subscriber]
include::{sourcedir}/grails-events/transform/src/test/groovy/grails/events/annotation/PubSubSpec.groovy[tags=subscriber]
----

In this example, every time a `sum` event occurs the subscriber will be invoked.
Expand All @@ -27,7 +27,7 @@ If you wish to subscribe to events dynamically or need more flexibility, then an
import grails.events.bus.EventBusAware
import jakarta.annotation.PostConstruct
...
include::{sourcedir}/grails-async/grails-events-transform/src/test/groovy/grails/events/ManualPubSubSpec.groovy[tags=subscriber]
include::{sourcedir}/grails-events/transform/src/test/groovy/grails/events/ManualPubSubSpec.groovy[tags=subscriber]
----

In this example the `TotalService` calls `subscribe` and passes a closure within a method called `init`. The `init` method is annotated with the annotation `@PostConstruct` so that is called after the `EventBus` has been injected by Spring, ensuring it is only called once and the events are correctly subscribed to.
4 changes: 2 additions & 2 deletions src/en/guide/async/events/asyncNotifying.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For example:
----
import grails.events.annotation.*
...
include::{sourcedir}/grails-async/grails-events-transform/src/test/groovy/grails/events/annotation/PubSubSpec.groovy[tags=publisher]
include::{sourcedir}/grails-events/transform/src/test/groovy/grails/events/annotation/PubSubSpec.groovy[tags=publisher]
----

What the above does is take the return value of the method and publish an event using an event `id` that is the same as the method name.
Expand All @@ -26,7 +26,7 @@ If you want more flexiblity then you could simulate the behaviour of annotation
----
import grails.events.*
...
include::{sourcedir}/grails-async/grails-events-transform/src/test/groovy/grails/events/ManualPubSubSpec.groovy[tags=publisher]
include::{sourcedir}/grails-events/transform/src/test/groovy/grails/events/ManualPubSubSpec.groovy[tags=publisher]
----

Notice in the above example, the link:{asyncApi}/grails/events/EventPublisher.html[EventPublisher] trait is explicitly implemented.
Expand Down
Loading
Loading