Skip to content

Commit

Permalink
Fix Gradle warnings (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
markwhitaker authored Jan 5, 2023
1 parent 5004723 commit 0dfa95e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ dependencies {
testImplementation "junit:junit:$junit_version"
}

compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8
}
compileTestKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8
kotlin {
jvmToolchain(8)
}

def getVersionFromGit() {
Expand All @@ -37,4 +34,4 @@ def getVersionFromGit() {
} catch (ignored) {
return "1.0.0"
}
}
}

0 comments on commit 0dfa95e

Please sign in to comment.