Commit Graph
1338 Commits
Author SHA1 Message Date
Andy Wilkinson 4697f2ea51 Merge branch '3.4.x' into 3.5.x
Closes gh-47033
2025-09-04 09:03:40 +01:00
Andy Wilkinson 985e108ccb Delete old output before documenting auto-configuration classes
Without this change, removing a file from the task's inputs would not
be reflected in its output as the stale output file for that input
would remain.

Closes gh-46970
2025-09-04 09:03:16 +01:00
Stéphane Nicoll fc0dc372d4 Merge branch '3.4.x' into 3.5.x
Closes gh-46874
2025-08-18 14:02:21 +02:00
Dmytro Nosan bb8e884999 Polish ArchitectureCheckTests
Prior to this commit, it wasn't possible to write a test to verify that
a specific ArchRule applied only to a specific SourceSet.

This PR rewrites `ArchitectureCheckTests` to support different sources
and also adds functionality to configure the plugin.

With these changes, all tests now verify not only the
`checkArchitectureMain` task but also `checkArchitectureTest`.

See gh-46822

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-08-18 14:01:58 +02:00
Stéphane Nicoll 78aac2fd33 Merge branch '3.4.x' into 3.5.x
Closes gh-46800
2025-08-12 11:22:23 +02:00
Johnny Lim edb38f9bf8 Polish
See gh-46785

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-08-12 11:16:32 +02:00
Stéphane Nicoll 2e8d2f7e73 Merge branch '3.4.x' into 3.5.x
Closes gh-46764
2025-08-11 08:48:55 +02:00
Dmytro Nosan b88ad99f1a Add ArchRule that checks that the type of exposed bean is not private
See gh-46753

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-08-11 08:43:21 +02:00
Andy Wilkinson 4dc10b4744 Merge branch '3.4.x' into 3.5.x 2025-08-01 09:18:44 +01:00
Andy Wilkinson 449a901c90 Remove unnecessary attributes from dependency scope configuration
See gh-46600
2025-08-01 09:14:33 +01:00
Andy Wilkinson 2cdf434105 Merge branch '3.4.x' into 3.5.x
Closes gh-46631
2025-07-31 10:13:09 +01:00
Andy Wilkinson c9c80763b7 Improve aggregation in the reference docs project
Closes gh-46600
2025-07-31 10:12:04 +01:00
Andy Wilkinson 79cb5b8d45 Merge branch '3.4.x' into 3.5.x
Closes gh-46412
2025-07-14 09:36:18 +01:00
Andy Wilkinson cc0aa831da Add support for per-library upgrade policies
Closes gh-46369
2025-07-12 08:42:45 +01:00
Phillip Webb 6cb9d47773 Merge branch '3.4.x' into 3.5.x
Closes gh-46353
2025-07-08 13:18:16 -07:00
Phillip Webb 1ed1757ba3 Ensure eclipse classpath excludes binary output folders
Update `EclipseConventions` so that classpath `whenMerged` changes
are applied via `JavaBasePlugin`. Without this change, the `whenMerged`
item is added, but then`EclipsePlugin.configureEclipseClasspath` is
called from a `project.getPlugins().withType(JavaBasePlugin.class, ...`
call. Using a nested call appears to fix the issue, probably because
it now runs after `configureEclipseClasspath`.

Closes gh-46319
2025-07-08 13:09:56 -07:00
Stéphane Nicoll 25dd5f1f33 Merge branch '3.4.x' into 3.5.x
Closes gh-46263
2025-07-03 20:10:54 +02:00
Piyal Ahmed 2b14cfee3c Remove unnecessary toString() call
See gh-46259

Signed-off-by: Piyal Ahmed <piya.salamence@gmail.com>
2025-07-03 20:10:00 +02:00
Phillip Webb 61c2d0766b Merge branch '3.4.x' into 3.5.x
See gh-46066
2025-06-20 17:21:58 -07:00
Phillip Webb 3aeb18d618 Add license header to gradle files
See gh-46065
2025-06-20 17:20:50 -07:00
Phillip Webb a37c84b7c5 Merge branch '3.4.x' into 3.5.x
See gh-46066
2025-06-20 17:14:59 -07:00
Phillip Webb d66b28fcba Update end copyright year to 'present'
See gh-46065
2025-06-20 17:12:38 -07:00
Stéphane Nicoll 305b5ab0b3 Merge branch '3.4.x'
Closes gh-45961
2025-06-13 16:47:02 +02:00
Stéphane Nicoll 3d92d12e8e Merge branch '3.3.x' into 3.4.x
Closes gh-45960
2025-06-13 16:46:43 +02:00
Stéphane Nicoll 0656190cb0 Use Jackson bom in buildSrc
Closes gh-45959
2025-06-13 16:43:32 +02:00
Andy Wilkinson 0af48d368f Merge branch '3.4.x'
Closes gh-45952
2025-06-13 09:39:17 +01:00
Andy Wilkinson 70b3f625d8 Merge branch '3.3.x' into 3.4.x
Closes gh-45951
2025-06-13 09:39:04 +01:00
Andy Wilkinson fdbddcf606 Work around unwanted side-effect of getCredentials()
Previously, we called getCredentials() to determine whether or not a
repository requires authentication. Unfortunately, the method has the
unwanted side-effect of assigning empty username and password
credentials to a repository that previously did not require
authentication and did not, therefore, have any credentials. These
empty credentials can then cause subsequent failures because
"Username must not be null!".

There's no side-effect-free public API for accessing a repository's
credentials. Instead, we're using some internal API on
AuthenticationSupportedInternal. If this causes problems when
upgrading to a new version of Gradle a different approach will be
required. For example, we could pass in the repositories in two
separate collections: those that require authentication and those
that don't.

Closes gh-45950
2025-06-13 09:34:25 +01:00
Andy Wilkinson f68e5b36af Allow group that is prohibited by default to be permitted
Closes gh-45920
2025-06-12 11:59:44 +01:00
Andy Wilkinson 653064144e Merge branch '3.4.x' 2025-06-12 09:27:14 +01:00
Andy Wilkinson a45fe68e3e Merge branch '3.3.x' into 3.4.x 2025-06-12 09:26:50 +01:00
Andy Wilkinson aa7e2fc0a3 Polish 2025-06-12 09:26:25 +01:00
Andy Wilkinson 523c26c75d Merge branch '3.4.x'
Closes gh-45863
2025-06-10 09:00:34 +01:00
Andy Wilkinson 515abc4221 Include all auto-config modules in auto-config classes appendix
Closes gh-45861
2025-06-10 08:58:42 +01:00
Andy Wilkinson 458578033e Merge branch '3.4.x'
Closes gh-45844
2025-06-06 11:26:54 +01:00
Andy Wilkinson 93dd39e52e Merge branch '3.3.x' into 3.4.x
Closes gh-45843
2025-06-06 11:26:34 +01:00
Andy Wilkinson de54d4df89 Improve linking to Testcontainers' javadoc
Closes gh-45802
2025-06-06 11:10:01 +01:00
Phillip Webb a9b52c5892 Merge branch '3.4.x' 2025-06-02 17:30:05 -07:00
Phillip Webb e054aa899a Merge branch '3.3.x' into 3.4.x 2025-06-02 17:20:04 -07:00
Phillip Webb c688ae345c Improve error report to include expected sorted output 2025-06-02 17:10:54 -07:00
Phillip Webb d47f1d27f6 Polish AutoConfigurationPlugin 2025-06-02 15:31:09 -07:00
Andy Wilkinson 5464812f80 Improve checking of auto-configuration 2025-06-02 13:45:16 -07:00
Andy Wilkinson 1a79f665ff Merge branch '3.4.x'
Closes gh-45703
2025-05-27 14:23:55 +01:00
Andy Wilkinson 89d26db43d Merge branch '3.3.x' into 3.4.x
Closes gh-45701
2025-05-27 14:06:36 +01:00
Andy Wilkinson 5b2cb79bb1 Configure more version alignment for Spring Data dependencies
Closes gh-45698
2025-05-27 13:56:00 +01:00
Andy Wilkinson f799fc4777 Remove implicit deployment of bom projects 2025-05-27 08:13:41 +01:00
Stéphane Nicoll d05148d4d6 Merge branch '3.4.x'
Closes gh-45683
2025-05-26 16:18:21 +02:00
Stéphane Nicoll 6a82134f94 Merge branch '3.3.x' into 3.4.x
Closes gh-45682
2025-05-26 16:18:12 +02:00
Tran Ngoc Nhan 7448f8c73a Document use of git-commit-id-maven-plugin consistently
See gh-45677

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-05-26 16:11:52 +02:00
Andy Wilkinson 077d90d2e9 Merge branch '3.4.x'
Closes gh-45653
2025-05-23 14:31:28 +01:00