Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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()
}
}
Expand Down
Loading