Skip to content

Commit

Permalink
Merge pull request #160 from larsgrefer/feature/jvm8
Browse files Browse the repository at this point in the history
Use Java 8 as JVM-Target to allow usage in older projects
  • Loading branch information
diegoocampoh authored Mar 10, 2024
2 parents fcd739e + 23b0e1e commit 02a306e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ group = "com.atlassian"
version = "2.0.2"
description = "onetime"

val javaVersion = JavaVersion.VERSION_17
val javaVersion = JavaVersion.VERSION_1_8

tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
Expand All @@ -42,7 +42,7 @@ tasks.withType<JavaCompile> {

tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
jvmTarget = "1.8"
freeCompilerArgs +=
listOf(
"-progressive",
Expand Down

0 comments on commit 02a306e

Please sign in to comment.