diff --git a/build.gradle b/build.gradle index 6798454..a67be76 100644 --- a/build.gradle +++ b/build.gradle @@ -60,8 +60,8 @@ dependencies { } compileJava { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } tasks.withType(GroovyCompile).configureEach { @@ -91,7 +91,7 @@ tasks.register('makePluginDescriptor', Copy) { 'classname' : pluginClassname, 'description' : pluginDescription, 'version' : project.property('version'), - 'javaVersion' : JavaVersion.VERSION_11, + 'javaVersion' : JavaVersion.VERSION_17, 'elasticsearchVersion': versions.elasticsearch ] ])