Skip to content

Commit

Permalink
Set common-utils 3.0.0 baseline JDK version to JDK-21
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta committed Oct 7, 2024
1 parent d7fd7b6 commit 42a7356
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
opensearch_version = System.getProperty("opensearch.version", "3.0.0-SNAPSHOT")
isSnapshot = "true" == System.getProperty("build.snapshot", "true")
buildVersionQualifier = System.getProperty("build.version_qualifier", "")
kotlin_version = System.getProperty("kotlin.version", "1.8.21")
kotlin_version = System.getProperty("kotlin.version", "1.9.25")
}

repositories {
Expand All @@ -30,7 +30,7 @@ buildscript {
plugins {
id 'java-library'
id 'maven-publish'
id 'com.diffplug.spotless' version '6.22.0'
id 'com.diffplug.spotless' version '6.25.0'
}

repositories {
Expand All @@ -51,8 +51,8 @@ allprojects {
}
}

targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_21
sourceCompatibility = JavaVersion.VERSION_21

apply plugin: 'java'
apply plugin: 'jacoco'
Expand Down Expand Up @@ -143,13 +143,13 @@ tasks.register('ktlintFormat', JavaExec) {
compileKotlin {
kotlinOptions {
freeCompilerArgs = ['-Xjsr305=strict']
jvmTarget = "11"
jvmTarget = "21"
}
}

compileTestKotlin {
kotlinOptions {
jvmTarget = "11"
jvmTarget = "21"
}
}

Expand Down

0 comments on commit 42a7356

Please sign in to comment.