From b532ae27d847fd05a06a1550c9f5d5d124ede9b3 Mon Sep 17 00:00:00 2001 From: Nicklas Ansman Giertz Date: Fri, 20 Nov 2020 08:55:39 -0500 Subject: [PATCH] Set an explicit java compatibilty (#149) This will ensure the project does not require > Java 8. --- gradle/kotlin.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gradle/kotlin.gradle b/gradle/kotlin.gradle index 65c79adc..335d18ce 100644 --- a/gradle/kotlin.gradle +++ b/gradle/kotlin.gradle @@ -21,6 +21,11 @@ compileTestKotlin { } } +java { + sourceCompatibility = "VERSION_1_8" + targetCompatibility = "VERSION_1_8" +} + dependencies { api libraries.kotlin_stdlib testImplementation libraries.kotlin_junit