diff --git a/.github/workflows/commit-publish.yml b/.github/workflows/commit-publish.yml index c4f2598..0642d61 100644 --- a/.github/workflows/commit-publish.yml +++ b/.github/workflows/commit-publish.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: Update version run: | branch="`echo "${{ github.ref }}" | grep -o "[^/]*$"`" diff --git a/mppJavaWithJsProject.gradle b/mppJavaWithJsProject.gradle index 92790b8..57642f9 100644 --- a/mppJavaWithJsProject.gradle +++ b/mppJavaWithJsProject.gradle @@ -7,7 +7,7 @@ kotlin { jvm { compilations.main { kotlinOptions { - jvmTarget = "1.8" + jvmTarget = "17" } } } @@ -44,6 +44,6 @@ kotlin { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 }