Commit Graph

917 Commits

Author SHA1 Message Date
Andy Wilkinson
1c61e59099 Prohibit unnecessary values on @ConditionalOnMissingBean
Closes gh-42941
2024-10-30 10:24:00 +00:00
Andy Wilkinson
c340c691c5 Avoid calling getProject() during task execution
Closes gh-32980
2024-10-29 17:54:00 +00:00
Andy Wilkinson
decf234b88 Move away from ProjectDependency#getDependencyProject()
Closes gh-42870
2024-10-29 15:22:12 +00:00
jeonghyeon00
cc25e6145e Polish
See gh-42809
2024-10-21 17:00:42 +02:00
Phillip Webb
a45844e7cd Reclaim docker disk space on CI during build
Attempt to fix disk space issues by removing large docker images
after they have been used.

This commit backports commits from `3.4.x` that were applied to
test the changes.

Closes gh-42776
2024-10-18 10:58:27 -07:00
Andy Wilkinson
706f30838b Abort upgrades upon user interrupt
Closes gh-39685
2024-10-18 12:48:58 +01:00
Moritz Halbritter
ce106eb43c Remove calls to deprecated Project.getBuildDir() in Gradle files
Closes gh-42739
2024-10-17 17:46:17 +02:00
Moritz Halbritter
7613e91a51 Remove calls to deprecated Project.getBuildDir()
Closes gh-42728
2024-10-17 14:30:29 +02:00
Moritz Halbritter
a3060652f8 Call String.toLowerCase and .toUppercase with explicit locale
Closes gh-42719
2024-10-17 13:20:39 +02:00
Dmytro Nosan
666e0c1a53 Added Arch Rules for String.toLowerCase and String.toUpperCase without Locale 2024-10-17 13:20:39 +02:00
Moritz Halbritter
4a4af0ac66 React to JavaPlugin to get ArchitectureCheck tasks registered again
Closes gh-42732
2024-10-17 11:55:09 +02:00
Phillip Webb
41ae973d16 Update copyright year of changed files 2024-10-16 13:08:37 -07:00
Stéphane Nicoll
b0dd42e9b9 Transform Maven settings with proper plugin repository tag
This commit adapts d44e7c9 to transforms plugin repositories using the
correct root tag. Previously, they were transformed with the regular
<repository> tag, which is invalid.

Closes gh-42687
2024-10-15 10:39:59 +02:00
Andy Wilkinson
7082c81167 Reinstate Maven Central as a source for dependency upgrades
See gh-42333
2024-10-09 09:35:29 +01:00
Andy Wilkinson
09400df47b Make URL creation more robust in Bomr's version resolver
Using URI#resolve is brittle as the behavior changes depending on
whether or not the URI ends with a /. This can result in the
original URI's path being lost and the URLs for the Maven metadata
files being incorrect.

See gh-42333
2024-10-09 09:21:09 +01:00
Phillip Webb
ab6d5576a7 Fix typo
See gh-42333
2024-10-01 13:51:44 -07:00
Phillip Webb
05b4edfd2c Use ifeval block for Commercial/OSS documentation
See gh-42333
2024-09-30 15:56:40 -07:00
Phillip Webb
7f8fe4251d Fix SpringRepositorySupport environment support
See gh-42333
2024-09-30 15:15:55 -07:00
Phillip Webb
f7d7d16ecd Polish logger naming 2024-09-30 11:44:28 -07:00
Phillip Webb
72de717d2a Skip Homebrew formula creation for non OSS build
See gh-42333
2024-09-30 11:42:16 -07:00
Phillip Webb
89ce26bf26 Skip SCM and IssueManagement POM configuration for non OSS builds
See gh-42333
2024-09-30 11:30:56 -07:00
Phillip Webb
d44e7c9af2 Dynamically populate repositories used in Ant/Maven integration tests
Update build scripts and tests so that repository settings are copied
dynamically from the build.

See gh-42333
2024-09-27 17:33:00 -07:00
Phillip Webb
0ac06696f7 Be defensive when accessing properties in SpringRepositorySupport.groovy
See gh-42333
2024-09-27 13:18:51 -07:00
Phillip Webb
c347ccaa76 Attempt to fix system tests following repository updates
See gh-42333
2024-09-27 12:17:29 -07:00
Phillip Webb
9836011ffd Create extension to configure Spring maven repositories
Create a small Groovy script that can be used in `settings.gradle`
files to extend `repositories` to support the various maven
repositories required for our build.

See gh-42333
2024-09-27 10:30:20 -07:00
Phillip Webb
4e02c438e4 Update BOMR to use repository names rather than SpringRepository
Update BOMR to use repositories names so that we can delete the
`SpringRepository` logic.

See gh-42333
2024-09-26 20:42:38 -07:00
Phillip Webb
1d3fff402f Fix checkstyle tool version reference 2024-09-24 16:48:52 -07:00
Phillip Webb
ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07:00
Phillip Webb
eafe61c4ca Backport upgrade to Gradle 8.10.1
Cherry-pick commits d756bf4e86, 083ac67d13 and 162c929a80 to
upgrade to Gradle 8.10.1.

Closes gh-42433
2024-09-24 12:55:29 -07:00
Phillip Webb
23ddad1ebd Propagate gradle.properties to buildSrc
Update `buildSrc` so that properties frok the root `gradle.properties`
file are available.

See gh-42333
2024-09-23 21:59:39 -07:00
arefbehboudi
0d3fceec5d Polish
See gh-42413
2024-09-22 17:45:59 -07:00
Phillip Webb
19d9e3b6cc Update BOM plugin to support commercial releases
See gh-42333
2024-09-20 17:33:46 -07:00
Phillip Webb
f9379f4576 Apply nohttp check per-project rather than at root
Switch nohttp checks to a convention that is applied per-project rather
than at the root. This should help to reduce memory consumption.

Closes gh-42332
2024-09-18 15:14:52 +01:00
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
0915b9534c Upgrade to ArchUnit 1.3.0
Closes gh-42009
2024-08-23 11:27:03 +01:00
Andy Wilkinson
112cfc8be6 Remove processed annotations plugin declaration
See gh-41981
2024-08-22 07:48:34 +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
Moritz Halbritter
1d45016d8c Upgrade to spring-javaformat 0.0.43
Closes gh-41853
2024-08-14 16:32:41 +02: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