Skip to content

Commit

Permalink
Set an explicit java compatibilty (#149)
Browse files Browse the repository at this point in the history
This will ensure the project does not require > Java 8.
  • Loading branch information
ansman authored Nov 20, 2020
1 parent 04e7784 commit b532ae2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gradle/kotlin.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ compileTestKotlin {
}
}

java {
sourceCompatibility = "VERSION_1_8"
targetCompatibility = "VERSION_1_8"
}

dependencies {
api libraries.kotlin_stdlib
testImplementation libraries.kotlin_junit
Expand Down

0 comments on commit b532ae2

Please sign in to comment.