Commit Graph

1244 Commits

Author SHA1 Message Date
Andy Wilkinson
86cd7ecaca Merge branch '3.3.x' into 3.4.x
Closes gh-45651
2025-05-23 14:19:15 +01:00
Tran Ngoc Nhan
380bfa398f Enforce static @ConfigurationPropertyBinding @Bean methods
See gh-45640

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-05-23 12:40:49 +01:00
Andy Wilkinson
492a4abd70 Merge branch '3.3.x' into 3.4.x
Closes gh-45645
2025-05-23 09:29:23 +01:00
Andy Wilkinson
7628ae8503 Check Kotlin code using Detekt
Closes gh-45583
2025-05-23 09:22:08 +01:00
Phillip Webb
197f573ca4 Merge branch '3.3.x' into 3.4.x
Closes gh-45577
2025-05-15 16:09:02 -07:00
Phillip Webb
535a85de2e Simplify javadoc links that use single element package
Closes gh-43230
2025-05-15 16:08:45 -07:00
Andy Wilkinson
c170249b75 Merge branch '3.3.x' into 3.4.x
Closes gh-45409
2025-05-09 08:43:51 +01:00
Andy Wilkinson
0ef29f002f Use junit-bom in buildSrc
Closes gh-45408
2025-05-09 08:43:16 +01:00
Phillip Webb
19ae4fbba7 Merge branch '3.3.x' into 3.4.x
Closes gh-45366
2025-05-05 22:10:17 -07:00
Phillip Webb
8814d8a7dc Polish 'Document methods of starting Testcontainer containers'
See gh-44187
2025-05-05 22:09:24 -07:00
Vanio Begic
4a98b1787f Document methods of starting Testcontainer containers
Update the reference documentation to provide more details about the
three supported methods of starting Testcontainer containers.

See gh-44187

Signed-off-by: Vanio Begic <vanio.begic123@gmail.com>
2025-05-05 22:08:06 -07:00
Phillip Webb
f172c2ca8f Merge branch '3.3.x' into 3.4.x 2025-04-28 12:20:08 -07:00
Phillip Webb
b2e691be02 Update copyright year of changed files 2025-04-28 12:20:02 -07:00
Phillip Webb
708062ec1d Merge branch '3.3.x' into 3.4.x 2025-04-28 12:15:47 -07:00
Phillip Webb
428fa6d941 Fix copyright headers to consistently start with project inception year 2025-04-28 12:15:32 -07:00
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