Commit Graph

864 Commits

Author SHA1 Message Date
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
Andy Wilkinson c8e9a2a32c Add support to Bomr for aligning dependency versions
Closes gh-34114
2024-01-15 15:20:29 +00:00
Brian Clozel 46b7bd2f23 Add configuration property to enable micrometer annotations
Prior to this commit, the Micrometer annotations support (`@Timed`,
`@Counted`...) was guarded by the presence of both Micrometer and
AspectJ on the classpath.

This signal is too weak, considering the startup performance impact and
the fact that the AspectJ dependency can be brought transitively in many
cases.

This commit adds a new `micrometer.observations.annotations.enabled`
property that is set to `false` by default to only process the
annotations support when this property is enabled.

Fixes gh-39128
2024-01-15 13:51:15 +01:00
Andy Wilkinson 7087897507 Merge branch '3.1.x' into 3.2.x
Closes gh-39091
2024-01-11 10:33:57 +00:00
Andy Wilkinson 45c32854a5 Fix Checkstyle upgrade
Closes gh-38746
2024-01-10 15:37:38 +00:00
Andy Wilkinson d3b93f5d70 Merge branch '3.1.x' into 3.2.x
Closes gh-39084
2024-01-10 15:33:44 +00:00
Andy Wilkinson 4699923b68 Upgrade to Spring Java Format 0.0.41
Closes gh-39082
2024-01-10 13:56:25 +00:00
Moritz Halbritter 8504b6e0a7 Merge branch '3.1.x' into 3.2.x
Closes gh-39073
2024-01-10 09:11:53 +01:00
Christoph Dreis 68b9f0c643 Update copyright year to 2024
See gh-38946
2024-01-10 09:11:29 +01:00
Andy Wilkinson 433f8a6fd9 Prepare 3.2.x branch 2024-01-04 10:50:34 +00:00
Phillip Webb 246a0e6f21 Merge branch '3.1.x'
Closes gh-38878
2023-12-19 23:10:49 -08:00
Yanming Zhou 8cb8999772 Ban call of URLEncoder.encode/URLDecoder.decode(String,String)
Add ArchUnit rules to ban the use of `URLEncoder` calls with String
charsets and use `Charset` calls instead.

See gh-38740
2023-12-19 23:10:18 -08:00
Phillip Webb 5354ad15b3 Merge branch '3.1.x'
Closes gh-38877
2023-12-19 22:51:48 -08:00
Yanming Zhou 8599e5a986 Remove unnecessary `toString()` calls
See gh-38739
2023-12-19 22:38:34 -08:00
Yanming Zhou d3a51e56b7 Remove unnecessary `static` modifiers
See gh-38739
2023-12-19 22:38:08 -08:00
Yanming Zhou ac18e3015c Use `.isEmpty()` where feasible
See gh-38739
2023-12-19 22:38:05 -08:00
Andy Wilkinson 47cac96dfe Merge branch '3.1.x'
Closes gh-38253
2023-11-07 11:25:09 +00:00
Andy Wilkinson b2c5976920 Merge branch '3.0.x' into 3.1.x
Closes gh-38252
2023-11-07 11:23:06 +00:00