Skip to content

Commit

Permalink
Merge pull request #4962 from geoand/#4823
Browse files Browse the repository at this point in the history
Ensure JDK 8 is used with Gradle
  • Loading branch information
geoand authored Oct 29, 2019
2 parents d171c19 + 49d1e39 commit 0d1def3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,9 @@ compileJava {
options.compilerArgs << '-parameters'
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}


Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ quarkusDev {
setSourceDir("$projectDir/src/main/kotlin")
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}

0 comments on commit 0d1def3

Please sign in to comment.