diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4381518e..0c0902b2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,10 +16,10 @@ jobs: - name: Get latest tag id: latesttag uses: "WyriHaximus/github-action-get-previous-tag@v1" - - name: Set up JDK 17 + - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '11' distribution: 'temurin' - name: Validate Gradle wrapper uses: gradle/wrapper-validation-action@v1 diff --git a/build.gradle.kts b/build.gradle.kts index 5fdacdb1..7919269e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -48,7 +48,7 @@ subprojects { } tasks.withType { kotlinOptions { - jvmTarget = "17" + jvmTarget = "11" } }