Commit Graph
1357 Commits
Author SHA1 Message Date
Moritz Halbritter 86f25012d6 Apply nullability-plugin through ConventionsPlugin
See gh-46587
2025-07-29 10:42:10 +02:00
Moritz Halbritter c0f1f641ce Make auto-configurations final and remove public members
Closes gh-32883
2025-07-29 09:48:49 +02:00
Andy Wilkinson 84712fa6d1 Fix xref generation when starter has a digit in its name
See gh-46245
2025-07-24 13:19:54 +01:00
Andy Wilkinson e12bb7b5de Library upgrade policy should not reduce bom's policy
Library-specific upgrade policies were added to allow a dependency
to have a less strict upgrade policy, for example so that a new
minor upgrade could be applied in a maintenance release. As
currently implemented, a library-specific policy that's more
restrictive than the bom's policy may result in a possibl upgrade
being missed.

This commit updates the library-specific support to use the
maximum (most permissive) upgrade policy so that possible upgrades
are not hidden by a less permissive library-specific policy.

See gh-46369
2025-07-23 07:03:38 +01:00
Stéphane Nicoll 17ee49be2e Stop using repo.spring.io/milestone
As of this new major, all milestones should be shipped to central as
well. This commit removes the inclusion of the milestone repository as
this shouldn't be needed anymore.

Closes gh-46420
2025-07-14 15:57:47 +02:00
Andy Wilkinson f98492a663 Merge branch '3.5.x'
Closes gh-46413
2025-07-14 09:36:32 +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 decc32dde3 Restructure project directories to better fit Gradle
Closes gh-46358
2025-07-10 17:54:08 -07:00
Phillip Webb 29f0a412c5 Merge branch '3.5.x'
Closes gh-46354
2025-07-08 13:19:13 -07: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 36b713eb5d Merge branch '3.5.x'
Closes gh-46264
2025-07-03 20:11:13 +02: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
Sébastien Deleuze a48e5baf2f Upgrade to Kotlin 2.2.0
This commit leverages Kotlin 2.2 which is expected to be the
new baseline for Spring Boot 4.0, so API and language
versions are upgraded to KOTLIN_2_2 as well.

It also enables the -Xannotation-default-target=param-property
compiler flag, mainly for test purpose, in order to avoid the
related warnings and to use what will likely be the default in
an upcoming Kotlin version short term. For more details see
https://youtrack.jetbrains.com/issue/KT-73255.

KotlinPlatformJvmPlugin was a class from an old KMP plugin,
deprecated for a long time and now removed. So its usage in
PluginClasspathGradleBuild has been removed as well.

Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>

See gh-46238
2025-07-02 13:10:32 +01:00
Phillip Webb 3312979c77 Merge branch '3.5.x'
See gh-46067
2025-06-20 17:22:43 -07: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 1bb1c13a61 Merge branch '3.5.x'
See gh-46067
2025-06-20 17:16:13 -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 d2d9f6996f Merge branch 'main' into 4.0.x 2025-06-13 16:47:19 +02: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 8e1f7f23d9 Merge branch 'main' into 4.0.x 2025-06-13 09:39:33 +01: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 8d7ac1f3f0 Merge branch 'main' into 4.0.x 2025-06-12 12:59:30 +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 09687d6280 Merge branch 'main' into 4.0.x 2025-06-12 09:27:23 +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 af736488e7 Merge branch 'main' into 4.0.x 2025-06-10 09:00:50 +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 ee7f070a3f Merge branch 'main' into 4.0.x 2025-06-06 11:27:07 +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 96a76855fa Merge branch 'main' into 4.0.x 2025-06-02 17:38:09 -07: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 971660fcc3 Merge branch 'main' into 4.0.x 2025-05-27 14:24:09 +01:00