From dc3f0132a75f9f57b2c14935fb639a3fdcb11aca Mon Sep 17 00:00:00 2001 From: Yoshiori Shoji Date: Mon, 8 Sep 2025 11:08:08 +0900 Subject: [PATCH 1/2] Upgrade deploy function --- build.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 186df055..cdf682dd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,12 @@ plugins { - id "com.vanniktech.maven.publish" version "0.22.0" + id "com.vanniktech.maven.publish" version "0.34.0" } -import com.vanniktech.maven.publish.SonatypeHost - allprojects { plugins.withId("com.vanniktech.maven.publish") { mavenPublishing { - // Want to publish to so1.oss.sonatype.org - publishToMavenCentral(SonatypeHost.S01, true) + // Publish to Central Portal (new Maven Central publishing system) + publishToMavenCentral() signAllPublications() } } From 0a1d1f303a100f5ba1fdc91854352826b2a680d2 Mon Sep 17 00:00:00 2001 From: Yoshiori Shoji Date: Mon, 8 Sep 2025 11:27:17 +0900 Subject: [PATCH 2/2] Update java version. --- .github/workflows/publish.yml | 6 +++--- .github/workflows/pull_request.yml | 8 ++++---- .github/workflows/test.yml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 56f43f54..e15234dd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,11 +28,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up JDK 1.8 - uses: actions/setup-java@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: distribution: temurin - java-version: 8 + java-version: 21 - name: Test run: ./gradlew test - name: Publish diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 77d94afb..a3caaee2 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -9,13 +9,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Set up JDK 1.8 - uses: actions/setup-java@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: distribution: temurin - java-version: 8 + java-version: 21 - name: Compile run: ./gradlew compileJava compileTestJava diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df173ad2..c8946095 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,11 +20,11 @@ jobs: - name: Install launchable CLI run: | pip install launchable - - name: Set up JDK 1.8 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: distribution: temurin - java-version: 8 + java-version: 21 - name: Record commits and build run: 'launchable record build --name "$GITHUB_RUN_ID" --source .' - name: Test