Commit Graph

155 Commits

Author SHA1 Message Date
Phillip Webb 3312979c77 Merge branch '3.5.x'
See gh-46067
2025-06-20 17:22:43 -07:00
Phillip Webb 3aeb18d618 Add license header to gradle files
See gh-46065
2025-06-20 17:20:50 -07:00
Stéphane Nicoll d2d9f6996f Merge branch 'main' into 4.0.x
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:false version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
2025-06-13 16:47:19 +02:00
Stéphane Nicoll 3d92d12e8e Merge branch '3.3.x' into 3.4.x
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:24], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:false version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
Closes gh-45960
2025-06-13 16:46:43 +02:00
Stéphane Nicoll 0656190cb0 Use Jackson bom in buildSrc
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:23], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:false version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
Closes gh-45959
2025-06-13 16:43:32 +02:00
Andy Wilkinson e65d1a3ac1 Merge branch 'main' into 4.0.x 2025-05-23 09:46:08 +01:00
Andy Wilkinson 492a4abd70 Merge branch '3.3.x' into 3.4.x
Closes gh-45645
2025-05-23 09:29:23 +01:00
Andy Wilkinson 7628ae8503 Check Kotlin code using Detekt
Closes gh-45583
2025-05-23 09:22:08 +01:00
Stéphane Nicoll 7035c0fa0a Upgrade to Kotlin 2.1.0
This commit upgrades to Kotlin 2.1.0. Two related dependencies have been
updated as well: Kotlin Coroutines to 1.10, and Kotlin Serialization to
1.8.

As of Kotlin 2, it is no longer possible to have a Java type and a
Kotlin type with the same name. As our code samples follow that
unfortunate pattern, this commit makes sure that the Kotlin sample code
does not depend on any of the Java counterpart and configure the kotlin
compilation plugin to ignore Java sources.

The minimum version of Gradle is 7.6.4. It bundles a version of Kotlin
that cannot compile a Kotlin build script when spring-core, compiled
with Kotlin 2.1, is on the classpath. Using Gradle 8.12 to run the DSL
tests avoids the problem.

Closes gh-45486

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-05-09 17:38:10 -07:00
Phillip Webb fd061220a7 Upgrade to ArchUnit 1.4
Closes gh-45474
2025-05-09 17:38:09 -07:00
Andy Wilkinson c170249b75 Merge branch '3.3.x' into 3.4.x
Closes gh-45409
2025-05-09 08:43:51 +01:00
Andy Wilkinson 0ef29f002f Use junit-bom in buildSrc
Closes gh-45408
2025-05-09 08:43:16 +01:00
Andy Wilkinson aa6d2f19fd Merge branch '3.3.x' into 3.4.x
Closes gh-44888
2025-03-25 17:06:06 +00:00
Andy Wilkinson 4f91d41666 Source version properties for Maven plugin tests from resolved bom
Closes gh-44886
2025-03-25 17:05:45 +00:00
Phillip Webb 7ee60c0aaf Merge branch '3.3.x'
Closes gh-43196
2024-11-15 13:24:08 -08:00
Phillip Webb ef8351716f Merge branch '3.2.x' into 3.3.x
Closes gh-43195
2024-11-15 13:23:59 -08:00
Phillip Webb f013c0edc3 Automatically run `check` task from `buildSrc`
Update `buildSrc` so that the `check` command is run as part of the
regular build. This restores the behavior of Gradle 7.x and will
hopefully allow us to catch test issues earlier.

Closes gh-43192
2024-11-15 13:20:46 -08:00
Andy Wilkinson 4a9da78eb8 Merge branch '3.3.x'
Closes gh-42969
2024-11-01 14:32:51 +00:00
Andy Wilkinson f9281a61ff Rework Antora Gradle Infrastructure
Closes gh-40572

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-11-01 14:28:18 +00:00
Phillip Webb 8282a90268 Merge branch '3.3.x' 2024-09-27 10:34:32 -07:00
Phillip Webb 055064f16b Merge branch '3.2.x' into 3.3.x 2024-09-27 10:33:30 -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 2392f65152 Merge branch '3.3.x' 2024-09-24 16:49:20 -07:00
Phillip Webb 3c079da725 Merge branch '3.2.x' into 3.3.x 2024-09-24 16:49:11 -07:00
Phillip Webb 1d3fff402f Fix checkstyle tool version reference 2024-09-24 16:48:52 -07:00
Phillip Webb 3df594a412 Merge branch '3.3.x' 2024-09-24 13:20:51 -07:00
Phillip Webb 72f379a5b2 Merge branch '3.2.x' into 3.3.x
Closes gh-42434
2024-09-24 13:01:05 -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 a4df3ced89 Merge branch '3.3.x' 2024-09-23 22:12:45 -07:00
Phillip Webb 689a61e4f5 Merge branch '3.2.x' into 3.3.x 2024-09-23 22:06:33 -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
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 d756bf4e86 Upgrade build to Gradle 8.10
Closes gh-41980
2024-08-23 12:41:05 +01:00
Andy Wilkinson 80884fe578 Merge branch '3.2.x' into 3.3.x
Closes gh-42010
2024-08-23 12:12:12 +01:00
Andy Wilkinson 0915b9534c Upgrade to ArchUnit 1.3.0
Closes gh-42009
2024-08-23 11:27:03 +01:00
Andy Wilkinson 29e4607046 Merge branch '3.2.x' into 3.3.x 2024-08-22 07:48:46 +01:00
Andy Wilkinson 112cfc8be6 Remove processed annotations plugin declaration
See gh-41981
2024-08-22 07:48:34 +01:00
Andy Wilkinson ea698e466d Merge branch '3.2.x' into 3.3.x
Closes gh-41982
2024-08-21 14:33:41 +01:00
Andy Wilkinson b2887303a6 Remove processed annotations plugin
Closes gh-41981
2024-08-21 13:16:34 +01:00
Andy Wilkinson b0d4f1d356 Merge branch '3.2.x' into 3.3.x
Closes gh-41257
2024-06-27 10:16:36 +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
Andy Wilkinson 53e1c7ed7d Include Kotlin API documentation in the documentation site
Closes gh-40692
2024-05-10 14:56:33 +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 592571c16e Merge branch '3.2.x'
Closes gh-40528
2024-04-26 09:34:00 +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 8d64e99714 Prepare buildSrc for migration to Antora
Replace `AsciidoctorConventions` with `AntoraConventions` in
preparation for the migration to Antora.

See gh-33766
2024-03-20 15:21:20 -07:00
Phillip Webb 4aa4e14fa4 Fix buildSrc Eclipse import issues
Update `buildSrc` so that it imports cleanly into Eclipse with tests
that can run inside the IDE.

Fixes gh-40041
2024-03-20 15:10:39 -07:00
Phillip Webb 91d150c3d4 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-40013
2024-03-18 13:59:55 -07:00
Phillip Webb 75c7bed6c6 Add external links to `spring-boot-dependencies`
Update the BOM `Library` model to support external links that we
can use in documentation and the release process.

An additional `checkLinks` task has also been added to verify
returned HTTP status codes.

Closes gh-39779

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2024-02-27 23:31:49 -08:00