Skip to content

Commit

Permalink
Set opensearch-plugin-template-java plugin 3.0.0 baseline JDK version…
Browse files Browse the repository at this point in the history
… to JDK-21 (#99)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta authored Oct 9, 2024
1 parent dab4aaf commit 2d9c676
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- macOS-latest
- windows-latest
java:
- 17
- 21
- 23
name: Build and Test Plugin Template
runs-on: ${{ matrix.os }}

Expand Down
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2d9c676

Please sign in to comment.