Commit Graph
1098 Commits
Author SHA1 Message Date
Andy Wilkinson 3f6fe9fb39 Merge branch '3.3.x' into 3.4.x
Closes gh-45230
2025-04-17 15:47:21 +01:00
Andy Wilkinson 927e7dbf00 Polish "Use ClassLoader with ArchitectureCheck"
See gh-45202
2025-04-17 15:46:59 +01:00
Dmytro Nosan bb3cf6c088 Use ClassLoader with ArchitectureCheck
Prior to this commit, certain rules, like BeanPostProcessor,
did not work with external classes. This commit ensures that
ArchRules are executed within a context ClassLoader that includes
all classes from the compile classpath.

See gh-45202

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-17 15:46:59 +01:00
Phillip Webb 1f21ec1eea Merge branch '3.3.x' into 3.4.x
Closes gh-45189
2025-04-14 15:49:21 -07:00
Eric Haag 579bdea431 Throw VerificationException for build verification failures
Verification failures are generally failures which verify correctness,
e.g., failures caused by test, compilation, linting, etc.
Non-verification failures are generally failures related to the
build toolchain, e.g., failures caused by dependency resolution, build
configuration, etc.

Develocity attempts to classify failures based on context, but it
doesn't always classify correctly. By default, most failures are
classified as non-verification. By explicitly throwing a
`VerificationException` for verification task failures, the failures
will be appropriately classified.

See gh-45187

See also: https://docs.gradle.com/develocity/failure-classification

Signed-off-by: Eric Haag <ehaag@gradle.com>
2025-04-14 15:45:25 -07:00
Phillip Webb 35dc8e6f88 Merge branch '3.3.x' into 3.4.x 2025-04-11 09:42:13 -07:00
Phillip Webb 2143d702f2 Polish boolean members that can use the default false value 2025-04-11 09:32:35 -07:00
Phillip Webb fc9937d05a Merge branch '3.3.x' into 3.4.x 2025-04-03 18:06:33 -07:00
Phillip Webb 88e8c17369 Update copyright year of changed files 2025-04-03 18:06:14 -07:00
Andy Wilkinson 6ad48639c2 Back port 246c4a2 to 3.3.x
The changes do not apply cleanly when cherry-picked so they
have been redone manually.

Closes gh-44941
2025-03-28 16:48:50 +00:00
Andy Wilkinson 68041de427 Merge branch '3.3.x' into 3.4.x
Closes gh-44914
2025-03-26 19:25:44 +00:00
Andy Wilkinson 86d11c90e2 Allow dockerTest tasks to be run in parallel through configuration
Closes gh-44913
2025-03-26 19:25:05 +00:00
Andy Wilkinson 056429a65c Merge branch '3.3.x' into 3.4.x
Closes gh-44903
2025-03-26 10:55:53 +00:00
Andy Wilkinson 2f7d598f41 Check imported boms for unwanted dependency management
Closes gh-42523
2025-03-26 10:52:30 +00:00
Andy Wilkinson 9fa4e0d80c Merge branch '3.3.x' into 3.4.x 2025-03-26 10:48:49 +00:00
Andy Wilkinson 9cd6af9ecf Polish CheckBom task 2025-03-26 09:15:01 +00:00
Andy Wilkinson a6ee681b48 Merge branch '3.3.x' into 3.4.x
Closes gh-44898
2025-03-25 18:40:59 +00:00
Andy Wilkinson 46a30e98bb Use ResolvedBom for bom checks
Closes gh-44897
2025-03-25 18:37:28 +00:00
Andy Wilkinson d78a208730 Merge branch '3.3.x' into 3.4.x
Closes gh-44895
2025-03-25 17:53:53 +00:00
Andy Wilkinson 95d89fba94 Remove no-longer-used effective bom artifact
Closes gh-44894
2025-03-25 17:53:23 +00:00
Andy Wilkinson 32234545af Merge branch '3.3.x' into 3.4.x
Closes gh-44892
2025-03-25 17:31:10 +00:00
Andy Wilkinson 17be4bdb5f Use ResolvedBom as a source for AntoraAsciidocAttributes
Closes gh-44891
2025-03-25 17:30:28 +00:00
Andy Wilkinson aa6d2f19fd Merge branch '3.3.x' into 3.4.x
Closes gh-44888
2025-03-25 17:06:06 +00:00
Andy Wilkinson 4f91d41666 Source version properties for Maven plugin tests from resolved bom
Closes gh-44886
2025-03-25 17:05:45 +00:00
Andy Wilkinson 42f5f63c8f Merge branch '3.3.x' into 3.4.x
Closes gh-44881
2025-03-25 16:28:41 +00:00
Andy Wilkinson 1047c2158a Use resolved bom as source of javadoc links
Closes gh-44878
2025-03-25 16:28:27 +00:00
Andy Wilkinson 0a4f6b14ef Merge branch '3.3.x' into 3.4.x
Closes gh-44879
2025-03-25 14:54:00 +00:00
Andy Wilkinson 7b2d90811d Rewrite process for documenting managed dependencies
Previously, managed dependencies were documented using Gradle's
dependency constraints. This has proven to be non-deterministic for
reasons that are not fully understood. The working theory is that
the constraints that are documented vary depending on the tasks
that the build has run at the point at which the constraints are
being examined and documented.

This commit replaces approach with one that builds a model of a
resolved bom by examining the configured bom extension and the
XML of the Maven boms that it imports. This model is written to
disk from where it can then be consumed as a dependency on other
projects. The existing tasks for documenting the constrained
versions and version properties have been rewritten to use the
resolved bom model instead.

Closes gh-44855
2025-03-25 14:44:34 +00:00
Phillip Webb 6eb7d3411b Merge branch '3.3.x' into 3.4.x 2025-03-14 15:14:30 -07:00
Phillip Webb 896b5767fe Polish 2025-03-14 13:36:04 -07:00
Andy Wilkinson 59ddba1063 Merge branch '3.3.x' into 3.4.x
Closes gh-44697
2025-03-12 15:48:36 +00:00
Andy Wilkinson 9b15b4bce9 Consolidate mock web server factories
Closes gh-44674
2025-03-12 15:26:47 +00:00
Andy Wilkinson 08b358e829 Merge branch '3.3.x' into 3.4.x
Closes gh-44694
2025-03-12 12:50:18 +00:00
Andy Wilkinson 3a6e4e9e58 Add checks for factories files
META-INF/spring.factories and META-INF/spring/aot.factories in the
main source set are now checked. The checks verify that:

- Each class listed in the values exists in the source set's output
- The classes are listed alphabetically
- Nested classes are identified using their binary name

Closes gh-44676
2025-03-12 12:44:18 +00:00
Stéphane Nicoll f235d7e9ff Merge branch '3.3.x' into 3.4.x
Closes gh-44416
2025-02-24 08:01:46 +01:00
Johnny Lim 332ad7bb70 Polish
See gh-44323

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-02-24 07:46:25 +01:00
Phillip Webb eeced8c629 Merge branch '3.3.x' into 3.4.x 2025-02-18 15:11:51 -08:00
Phillip Webb 8aea6d575a Update copyright year of changed files 2025-02-18 15:11:35 -08:00
Moritz Halbritter 1b494cc61d Merge branch '3.3.x' into 3.4.x
Closes gh-44145
2025-02-06 12:21:58 +01:00
Moritz Halbritter baf596d10e Document double observations when using @Timed etc.
Closes gh-44037
2025-02-06 12:21:31 +01:00
Andy Wilkinson 64b5c6391f Merge branch '3.3.x' into 3.4.x
Closes gh-44135
2025-02-05 10:59:07 +00:00
Andy Wilkinson 0b8f2a567a Improve version upgrade suggestions when version is aligned
Closes gh-44132
2025-02-05 10:07:31 +00:00
Phillip Webb e257463899 Merge branch '3.3.x' into 3.4.x 2025-02-03 21:19:14 -08:00
Phillip Webb 754fabab20 Fixup 'Limit artifact types resolved from repositories' 2025-02-03 21:18:52 -08:00
Phillip Webb ccf40500e7 Merge branch '3.3.x' into 3.4.x 2025-02-03 20:55:45 -08:00
Phillip Webb 810fedacee Limit artifact types resolved from repositories
Use `content.snapshotsOnly()` or `content.releasesOnly()` to limit
when maven repositories can be used.
2025-02-03 20:24:33 -08:00
Phillip Webb 0ec15c8f9b Merge branch '3.3.x' into 3.4.x
Closes gh-44055
2025-02-03 19:44:33 -08:00
Phillip Webb 80e8ab8779 Support commercial repositories in effective BOM and Ivy
Update `BomExtension` to resolve '{spring.mavenRepositories}' and add
credentials to `ivysettings.xml` and `settings.xml`.

Closes gh-44050
2025-02-03 18:22:53 -08:00
Phillip Webb fd5180645e Polish 2025-02-03 16:55:09 -08:00
Phillip Webb 9ddd9a9b33 Backport 'Patch gulp-vinyl-zip to improve error messages'
Update Antora `package.json` to patch `@vscode+gulp-vinyl-zip` in order
to provide better error messages.

See gh-42392
2025-01-27 17:39:13 -08:00