Commit Graph

782 Commits

Author SHA1 Message Date
Andy Wilkinson
545e370d9a Declare use of testResultsOverview build service
Closes gh-42265
2024-09-11 15:15:05 +01:00
Andy Wilkinson
c98363d016 Polish formatting 2024-08-28 14:40:20 +01:00
Andy Wilkinson
6ebc9b887e Use ArchiveOperations instead of Project's zipTree
Closes gh-41999
2024-08-28 14:23:04 +01:00
Andy Wilkinson
ea0142f849 Use FileSystemOperations instead of Project copy and sync
Closes gh-41998
2024-08-28 14:22:44 +01:00
Andy Wilkinson
b2887303a6 Remove processed annotations plugin
Closes gh-41981
2024-08-21 13:16:34 +01:00
Piyal Ahmed
016e70cbd2 Polish
See gh-41957
2024-08-20 11:44:12 +02:00
Andy Wilkinson
98773cdde9 Sync Maven binaries rather than copying them
This prevents binaries accumulating in build/maven-binaries when
the versions of Maven that are tested changes.

Closes gh-41649
2024-08-15 16:58:21 +01:00
Andy Wilkinson
4ee24bf9bd Polish "Add rule to prevent calls to Objects.requireNonNull()"
See gh-41611
2024-07-29 11:41:26 +01:00
ivamly
fb22c189f4 Add rule to prevent calls to Objects.requireNonNull()
See gh-41611
2024-07-29 10:35:44 +01:00
Phillip Webb
61dc82d836 Update copyright year of changed files 2024-07-22 18:16:19 +01:00
Andy Wilkinson
7398c6c2a4 Fix upgrade detection when number of numeric components changes
Fixes gh-41471
2024-07-12 15:53:02 +01:00
Andy Wilkinson
68c5f59ab9 Configure checkArchitecture tasks to depend on resource processing
Closes gh-41358
2024-07-09 10:57:38 +01:00
Andy Wilkinson
cb9135b743 Align GraphQL Java version with dependency from spring-graphql
Closes gh-41315
2024-07-08 10:32:04 +01:00
Andy Wilkinson
d71fdd9712 Make buildSrc's custom Gradle tasks consistently abstract
Closes gh-41272
2024-06-28 15:40:56 +01:00
Andy Wilkinson
365fdfee45 Reduce scope of mavenOptional feature to only the Maven Plugin
Previously, the mavenOptional was added to every published module but it
was only used by spring-boot-maven-plugin. This commit reduces its scope
so that it only affects the Maven plugin. It also reworks the
implementation to reuse the existing optional configuration rather than
declaring a new mavenOptional configuration. Lastly, publication of
Gradle Module Metadata (GMM) has been disabled for
spring-boot-maven-plugin. This is seen as preferable to publishing the
metadata – which isn't really needed as it does not contain any useful
additional information – and having to suppress warnings about
incomplete mapping of GMM to pom metadata.

Closes gh-41263
2024-06-28 11:39:46 +01:00
Andy Wilkinson
d78c7b541a Introduce docker-test plugin for running tests that require Docker
See gh-41228
2024-06-26 19:45:21 +01:00
Phillip Webb
2a4582b084 Update copyright year of changed files 2024-06-19 22:54:40 -07:00
Phillip Webb
dcccb3b2b1 Polish "Use method references when possible"
See gh-40974
2024-06-11 12:57:59 -07:00
Ahmed Ashour
507229eef8 Use method references when possible
See gh-40974
2024-06-11 12:57:55 -07:00
Phillip Webb
a18cb37657 Polish "Use 'switch' instead of 'if'"
See gh-40985
2024-06-11 12:24:13 -07:00
Ahmed Ashour
2c5934dab2 Use 'switch' instead of 'if'
See gh-40985
2024-06-11 12:24:11 -07:00
Phillip Webb
ecc9a2352d Polish "Use constructor rather than Collection.addAll"
See gh-41053
2024-06-11 10:02:27 -07:00
Moritz Halbritter
ef0cf7e9da Merge branch '3.1.x' into 3.2.x
Closes gh-40702
2024-05-13 11:52:18 +02:00
Piyal Ahmed
3cac9b1d17 Fix typo in JavaDoc
See gh-40637
2024-05-13 11:50:49 +02:00
Andy Wilkinson
436f2758f8 Ensure that extensions have been built before Asciidoctor runs
See gh-40536
2024-05-10 09:57:12 +01:00
Andy Wilkinson
c7ec6080ce Publish a runtime variant that supports Java 22
In order to support Java 22, we must use spring-core 6.1.x.
spring-core 6.1.x is a multi-release jar so, in order to support Java
22, a version of Gradle that supports multi-release jars must be
used.

This commit adds a new variant to spring-boot-gradle-plugin for
modern versions of Gradle. When Gradle's plugin API version is 8.7 or
later, we use spring-core 6.1.x. spring-core 6.0.x is used at all
other times.

Closes gh-40074
2024-05-02 10:45:18 +01:00
Andy Wilkinson
0757857b74 Stop calling getProject() when ExtractVersionConstraints is executing
Closes gh-40550
2024-04-26 17:03:29 +01:00
Andy Wilkinson
c139bdf525 Merge branch '3.1.x' into 3.2.x 2024-04-26 16:31:58 +01:00
Andy Wilkinson
ee73b022c7 Polish 2024-04-26 16:31:11 +01:00
Andy Wilkinson
89b13c897a Merge branch '3.1.x' into 3.2.x
Closes gh-40547
2024-04-26 16:30:27 +01:00
Andy Wilkinson
b8aed98649 Avoid calling getProject() when checking configuration metadata
Closes gh-40546
2024-04-26 16:30:00 +01:00
Andy Wilkinson
023c104434 Merge branch '3.1.x' into 3.2.x
Closes gh-40544
2024-04-26 16:21:49 +01:00
Andy Wilkinson
fd887839a3 Avoid calling getProject() during execution of pMPTPR
Closes gh-40543
2024-04-26 16:21:11 +01:00
Andy Wilkinson
876d9213f5 Merge branch '3.1.x' into 3.2.x
Closes gh-40541
2024-04-26 16:10:40 +01:00
Andy Wilkinson
3e6a9b3708 Stop calling getProject() during execution of AutoConfigurationMetadata
Closes gh-40540
2024-04-26 16:09:59 +01:00
Andy Wilkinson
cfdb89fe0b Merge branch '3.1.x' into 3.2.x
Closes gh-40538
2024-04-26 15:58:44 +01:00
Andy Wilkinson
2572c6d3cd Stop calling getProject() during execution of StarterMetadata
Closes gh-40537
2024-04-26 15:52:36 +01:00
Andy Wilkinson
3881cd0ea3 Upgrade to Asciidoctor Gradle Plugin 4.0.2
Closes gh-40536
2024-04-26 15:09:28 +01:00
Andy Wilkinson
eb7e7b6425 Merge branch '3.1.x' into 3.2.x
Closes gh-40532
2024-04-26 13:51:33 +01:00
Andy Wilkinson
d2a5bb3b26 Add dependency management alignment infrastructure
Closes gh-40531
2024-04-26 13:51:16 +01:00
Andy Wilkinson
087e467387 Merge branch '3.1.x' into 3.2.x
Closes gh-40527
2024-04-26 09:33:12 +01:00
Andy Wilkinson
83f692237d Migrate to com.gradle.develocity plugin
Closes gh-40153
2024-04-26 09:30:48 +01:00
Phillip Webb
38af8cd362 Merge branch '3.1.x' into 3.2.x 2024-04-18 12:52:54 -07:00
Phillip Webb
20db2b54c7 Update copyright year of changed files 2024-04-18 12:52:29 -07:00
Scott Frederick
1c2a43d1e6 Merge branch '3.1.x' into 3.2.x
Closes gh-40165
2024-04-03 16:30:41 -05:00
Felix
8a42935dad Apply instanceof pattern matching
See gh-40085
2024-04-03 16:30:01 -05:00
Phillip Webb
cff8cb98c7 Merge branch '3.1.x' into 3.2.x 2024-01-22 12:20:24 -08:00
Andy Wilkinson
7b6b3a581e Merge branch '3.1.x' into 3.2.x 2024-01-15 17:07:14 +00:00
Andy Wilkinson
9874363fbe Don't offer aligned version when it's already the current version
See gh-34114
2024-01-15 17:06:53 +00:00
Andy Wilkinson
c0fedc8f74 Merge branch '3.1.x' into 3.2.x
Closes gh-39133
2024-01-15 15:21:31 +00:00