Skip to content

Commit 352725f

Browse files
committed
Merge branch 'main' into desiderantes/query-method
# Conflicts: # spring-web/src/test/java/org/springframework/web/client/AbstractMockWebServerTests.java
2 parents 6f9aa37 + 7484b9c commit 352725f

File tree

9,201 files changed

+44026
-24662
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,201 files changed

+44026
-24662
lines changed

.github/actions/build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
java-version:
2020
description: 'Java version to compile and test with'
2121
required: false
22-
default: '17'
22+
default: '24'
2323
publish:
2424
description: 'Whether to publish artifacts ready for deployment to Artifactory'
2525
required: false

.github/actions/prepare-gradle-build/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
java-version:
2020
description: 'Java version to use for the build'
2121
required: false
22-
default: '17'
22+
default: '24'
2323
runs:
2424
using: composite
2525
steps:
@@ -30,8 +30,9 @@ runs:
3030
java-version: |
3131
${{ inputs.java-early-access == 'true' && format('{0}-ea', inputs.java-version) || inputs.java-version }}
3232
${{ inputs.java-toolchain == 'true' && '17' || '' }}
33+
24
3334
- name: Set Up Gradle
34-
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
35+
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
3536
with:
3637
cache-read-only: false
3738
develocity-access-key: ${{ inputs.develocity-access-key }}

.github/actions/sync-to-maven-central/action.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
name: Sync to Maven Central
22
description: 'Syncs a release to Maven Central and waits for it to be available for use'
33
inputs:
4-
jfrog-cli-config-token:
5-
description: 'Config token for the JFrog CLI'
6-
required: true
7-
ossrh-s01-staging-profile:
8-
description: 'Staging profile to use when syncing to Central'
4+
central-token-password:
5+
description: 'Password for authentication with central.sonatype.com'
96
required: true
10-
ossrh-s01-token-password:
11-
description: 'Password for authentication with s01.oss.sonatype.org'
7+
central-token-username:
8+
description: 'Username for authentication with central.sonatype.com'
129
required: true
13-
ossrh-s01-token-username:
14-
description: 'Username for authentication with s01.oss.sonatype.org'
10+
jfrog-cli-config-token:
11+
description: 'Config token for the JFrog CLI'
1512
required: true
1613
spring-framework-version:
1714
description: 'Version of Spring Framework that is being synced to Central'
@@ -27,16 +24,10 @@ runs:
2724
shell: bash
2825
run: jf rt download --spec ${{ format('{0}/artifacts.spec', github.action_path) }} --spec-vars 'buildName=${{ format('spring-framework-{0}', inputs.spring-framework-version) }};buildNumber=${{ github.run_number }}'
2926
- name: Sync
30-
uses: spring-io/nexus-sync-action@42477a2230a2f694f9eaa4643fa9e76b99b7ab84 # v0.0.1
27+
uses: spring-io/central-publish-action@0cdd90d12e6876341e82860d951e1bcddc1e51b6 # v0.2.0
3128
with:
32-
close: true
33-
create: true
34-
generate-checksums: true
35-
password: ${{ inputs.ossrh-s01-token-password }}
36-
release: true
37-
staging-profile-name: ${{ inputs.ossrh-s01-staging-profile }}
38-
upload: true
39-
username: ${{ inputs.ossrh-s01-token-username }}
29+
token: ${{ inputs.central-token-password }}
30+
token-name: ${{ inputs.central-token-username }}
4031
- name: Await
4132
uses: ./.github/actions/await-http-resource
4233
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
toolchain: false
2121
- version: 21
2222
toolchain: true
23-
- version: 23
23+
- version: 24
2424
toolchain: true
2525
exclude:
2626
- os:

.github/workflows/release-milestone.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,9 @@ jobs:
6161
- name: Sync to Maven Central
6262
uses: ./.github/actions/sync-to-maven-central
6363
with:
64+
central-token-password: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
65+
central-token-username: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
6466
jfrog-cli-config-token: ${{ secrets.JF_ARTIFACTORY_SPRING }}
65-
ossrh-s01-staging-profile: ${{ secrets.OSSRH_S01_STAGING_PROFILE }}
66-
ossrh-s01-token-password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
67-
ossrh-s01-token-username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
6867
spring-framework-version: ${{ needs.build-and-stage-release.outputs.version }}
6968
promote-release:
7069
name: Promote Release

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ jobs:
6060
- name: Sync to Maven Central
6161
uses: ./.github/actions/sync-to-maven-central
6262
with:
63+
central-token-password: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
64+
central-token-username: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
6365
jfrog-cli-config-token: ${{ secrets.JF_ARTIFACTORY_SPRING }}
64-
ossrh-s01-staging-profile: ${{ secrets.OSSRH_S01_STAGING_PROFILE }}
65-
ossrh-s01-token-password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
66-
ossrh-s01-token-username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
6766
spring-framework-version: ${{ needs.build-and-stage-release.outputs.version }}
6867
promote-release:
6968
name: Promote Release

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
distribution: 'liberica'
4747
java-version: 17
4848
- name: Set Up Gradle
49-
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
49+
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
5050
with:
5151
cache-read-only: false
5252
- name: Configure Gradle Properties

.sdkmanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Enable auto-env through the sdkman_auto_env config
22
# Add key=value pairs of SDKs to use below
3-
java=24-librca
3+
java=24.0.2-librca

build.gradle

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ plugins {
22
id 'io.freefair.aspectj' version '8.13.1' apply false
33
// kotlinVersion is managed in gradle.properties
44
id 'org.jetbrains.kotlin.plugin.serialization' version "${kotlinVersion}" apply false
5-
id 'org.jetbrains.dokka' version '1.9.20'
5+
id 'org.jetbrains.dokka'
66
id 'com.github.bjornvester.xjc' version '1.8.2' apply false
77
id 'io.github.goooler.shadow' version '8.1.8' apply false
88
id 'me.champeau.jmh' version '0.7.2' apply false
9-
id "io.spring.nullability" version "0.0.1" apply false
9+
id 'io.spring.nullability' version '0.0.4' apply false
1010
}
1111

1212
ext {
@@ -57,30 +57,25 @@ configure([rootProject] + javaProjects) { project ->
5757
apply from: "${rootDir}/gradle/ide.gradle"
5858

5959
dependencies {
60-
testImplementation("org.junit.jupiter:junit-jupiter-api")
61-
testImplementation("org.junit.jupiter:junit-jupiter-params")
62-
testImplementation("org.junit.platform:junit-platform-suite-api")
60+
testImplementation("org.junit.jupiter:junit-jupiter")
61+
testImplementation("org.junit.platform:junit-platform-suite")
6362
testImplementation("org.mockito:mockito-core")
6463
testImplementation("org.mockito:mockito-junit-jupiter")
6564
testImplementation("io.mockk:mockk")
6665
testImplementation("org.assertj:assertj-core")
67-
// Pull in the latest JUnit 5 Launcher API to ensure proper support in IDEs.
68-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
6966
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
70-
testRuntimeOnly("org.junit.platform:junit-platform-suite-engine")
7167
testRuntimeOnly("org.apache.logging.log4j:log4j-core")
7268
}
7369

7470
ext.javadocLinks = [
7571
"https://docs.oracle.com/en/java/javase/17/docs/api/",
7672
"https://jakarta.ee/specifications/platform/11/apidocs/",
7773
"https://docs.jboss.org/hibernate/orm/5.6/javadocs/",
78-
"https://eclipse.dev/aspectj/doc/latest/runtime-api/",
7974
"https://www.quartz-scheduler.org/api/2.3.0/",
8075
"https://hc.apache.org/httpcomponents-client-5.5.x/current/httpclient5/apidocs/",
8176
"https://projectreactor.io/docs/test/release/api/",
8277
"https://junit.org/junit4/javadoc/4.13.2/",
83-
"https://junit.org/junit5/docs/5.13.0/api/",
78+
"https://docs.junit.org/5.13.4/api/",
8479
"https://www.reactive-streams.org/reactive-streams-1.0.3-javadoc/",
8580
//"https://javadoc.io/static/io.rsocket/rsocket-core/1.1.1/",
8681
"https://r2dbc.io/spec/1.0.0.RELEASE/api/",

buildSrc/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ext {
2020
dependencies {
2121
checkstyle "io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}"
2222
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
23+
implementation "org.jetbrains.dokka:dokka-gradle-plugin:2.0.0"
2324
implementation "com.tngtech.archunit:archunit:1.4.0"
2425
implementation "org.gradle:test-retry-gradle-plugin:1.6.2"
2526
implementation "io.spring.javaformat:spring-javaformat-gradle-plugin:${javaFormatVersion}"

0 commit comments

Comments
 (0)