diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index de39a92..5546fe4 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -20,10 +20,10 @@ jobs: environment: PROD steps: - uses: actions/checkout@v2 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: - java-version: '17' + java-version: '21' distribution: 'temurin' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file diff --git a/build.gradle.kts b/build.gradle.kts index 301e4ec..e8cb964 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -44,11 +44,11 @@ subprojects { } // compile - java.sourceCompatibility = JavaVersion.VERSION_17 + java.sourceCompatibility = JavaVersion.VERSION_21 tasks.withType { kotlinOptions { - jvmTarget = "17" + jvmTarget = "21" languageVersion = "1.9" freeCompilerArgs = listOf("-opt-in=kotlin.RequiresOptIn") } @@ -105,7 +105,7 @@ subprojects { tasks { withType { - this.jvmTarget = "14" + this.jvmTarget = "21" reports { // observe findings in your browser with structure and code snippets html.required.set(true) @@ -121,7 +121,7 @@ subprojects { // jacoco jacoco { - toolVersion = "0.8.7" + toolVersion = "0.8.12" } tasks.jacocoTestReport {