Skip to content

Commit

Permalink
Java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Jun 12, 2022
1 parent 0d6848f commit 14390dc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion webp-imageio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ tasks.named("test") {
useJUnitPlatform()
}

tasks.withType(JavaCompile).configureEach {
options.release.set(JavaVersion.VERSION_1_8.majorVersion.toInteger())
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(JavaVersion.VERSION_17.toString())
}
}

dependencies {
testImplementation("org.assertj:assertj-core:3.23.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.2")
}
}

0 comments on commit 14390dc

Please sign in to comment.