diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e36f176..0ba207c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up JDK 11 + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 1.8 - uses: actions/checkout@v2 with: fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41b8c5b..ba8f002 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up JDK 11 + - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 1.8 - uses: actions/checkout@v2 with: fetch-depth: 0 diff --git a/README.asciidoc b/README.asciidoc index e3a88cb..9e5da28 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -7,8 +7,6 @@ ==== **Breaking Changes!** -Source and target compatibility of the library was changed to **Java 11**. - The default configuration was adapted for **Jakarta XML Binding 3.0.1**. ==== diff --git a/build.gradle.kts b/build.gradle.kts index f4c39e2..97c0998 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -86,8 +86,8 @@ pluginBundle { } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } // set correct project status @@ -108,6 +108,9 @@ tasks { tl@this.events(org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED) } + this.javaLauncher.set( project.javaToolchains.launcherFor { + languageVersion.set(JavaLanguageVersion.of(11)) + }) systemProperty("intershop.gradle.versions","6.8, 7.0.2") if(project.hasProperty("repoURL") @@ -270,6 +273,6 @@ dependencies { implementation(gradleApi()) implementation(gradleKotlinDsl()) - testImplementation("com.intershop.gradle.test:test-gradle-plugin:4.0.0") + testImplementation("com.intershop.gradle.test:test-gradle-plugin:4.1.0") testImplementation(gradleTestKit()) }