From b87172fab1a6c2357ebcf83fa9471bbf0d67fe28 Mon Sep 17 00:00:00 2001 From: Matti Roloux Date: Thu, 2 Feb 2023 09:41:07 +0100 Subject: [PATCH] Dropped support for Java 8. You now need at least Java 11. --- .github/workflows/build.yml | 5 ++++- README.md | 6 +++--- build.gradle | 14 +++++++------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6fd2dd..c8425ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,13 +10,16 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + java-version: [ 11, 17 ] steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: 17 + java-version: ${{ matrix.java-version }} - run: chmod +x gradlew - uses: zcong1993/setup-timezone@master with: diff --git a/README.md b/README.md index 25b1e58..195df12 100644 --- a/README.md +++ b/README.md @@ -10,14 +10,14 @@ seatsio-java is available in the Maven Central repository: ``` // build.gradle dependencies { - compile 'io.seats:seatsio-java:74.3.0' + compile 'io.seats:seatsio-java:75.0.0' } // pom.xml io.seats seatsio-java - 74.3.0 + 75.0.0 ``` @@ -25,7 +25,7 @@ Note that v74.0.0 is the first version that's hosted on Maven Central instead of ## Java version -You need at least Java 8 (with update 101) to use seatsio-java. +You need at least Java 11 to use seatsio-java. ## Versioning diff --git a/build.gradle b/build.gradle index a4f9a28..f5aa0a9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,12 +1,12 @@ plugins { - id "com.vanniktech.maven.publish" version "0.22.0" + id "com.vanniktech.maven.publish" version "0.24.0" } group = 'io.seats' -version = '74.3.0' +version = '75.0.0' apply plugin: 'java' -sourceCompatibility = 1.8 +sourceCompatibility = 11 repositories { mavenCentral() @@ -50,12 +50,12 @@ mavenPublishing { dependencies { implementation 'org.apache.commons:commons-lang3:3.12.0' - implementation 'com.google.code.gson:gson:2.10' + implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.konghq:unirest-java:3.14.1' implementation 'com.google.guava:guava:31.1-jre' - testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1' - testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1' - testImplementation 'org.assertj:assertj-core:3.23.1' + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.2' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.2' + testImplementation 'org.assertj:assertj-core:3.24.2' testImplementation 'commons-io:commons-io:2.11.0' testImplementation 'org.awaitility:awaitility:4.2.0' testRuntimeOnly "org.slf4j:slf4j-api:2.0.6"