From 4585f54c6bd888dd8ed0a63968fd6bca055a6928 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Mon, 11 Sep 2023 14:18:12 +0200 Subject: [PATCH] Use JDK21 and bump to 3.0.0-SNAPSHOT (#772) Bump to 3.0.0-SNAPSHOT --- .github/workflows/build.yml | 2 +- pom.xml | 10 +++++----- .../com/pivovarit/collectors/ArchitectureTest.java | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e7dc971..b1ca0499 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '8', '11', '17', '20', '21-ea' ] + java: [ '21-ea' ] architecture: [ 'x64' ] name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }} steps: diff --git a/pom.xml b/pom.xml index 26ca6af6..6b687c95 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ com.pivovarit parallel-collectors - 2.5.1-SNAPSHOT + 3.0.0-SNAPSHOT jar @@ -51,8 +51,8 @@ maven-compiler-plugin 3.11.0 - 1.8 - 1.8 + 21 + 21 @@ -240,13 +240,13 @@ com.tngtech.archunit archunit-junit5-api - 1.0.0 + 1.1.0 test com.tngtech.archunit archunit-junit5-engine - 1.0.0 + 1.1.0 test diff --git a/src/test/java/com/pivovarit/collectors/ArchitectureTest.java b/src/test/java/com/pivovarit/collectors/ArchitectureTest.java index c1776e40..75e06af3 100644 --- a/src/test/java/com/pivovarit/collectors/ArchitectureTest.java +++ b/src/test/java/com/pivovarit/collectors/ArchitectureTest.java @@ -4,10 +4,12 @@ import com.tngtech.archunit.junit.AnalyzeClasses; import com.tngtech.archunit.junit.ArchTest; import com.tngtech.archunit.lang.ArchRule; +import org.junit.jupiter.api.Disabled; import static com.tngtech.archunit.core.domain.JavaModifier.FINAL; import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.classes; + @AnalyzeClasses(packages = "com.pivovarit", importOptions = ImportOption.DoNotIncludeTests.class) class ArchitectureTest {