Skip to content

Commit

Permalink
Target jvm 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Jun 20, 2023
1 parent 69bf847 commit 4215201
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## Unreleased
### Fixed
- Revert jvm jars to target Java 8

## 3.5.3
### Changed
Expand Down
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ subprojects {

tasks.withType<KotlinJvmCompile>().configureEach {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_11)
jvmTarget.set(JvmTarget.JVM_1_8)
}
}
tasks.withType<JavaCompile>().configureEach {
sourceCompatibility = JavaVersion.VERSION_11.toString()
targetCompatibility = JavaVersion.VERSION_11.toString()
options.release.set(8)
}

pluginManager.withPlugin("com.vanniktech.maven.publish") {
Expand Down

0 comments on commit 4215201

Please sign in to comment.