diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 572991a..2f770f6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,8 +17,8 @@ jobs: - macOS-latest - windows-latest java: - - 17 - 21 + - 23 name: Build and Test Plugin Template runs-on: ${{ matrix.os }} diff --git a/build.gradle b/build.gradle index be395b9..4682934 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,11 @@ def pathToPlugin = 'path.to.plugin' def pluginClassName = 'RenamePlugin' group = "RenameGroup" +java { + targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_21 +} + tasks.register("preparePluginPathDirs") { mustRunAfter clean doLast {