From 6e37f118bfa98c07699d1d610a1549923d446ebe Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Fri, 7 Jun 2019 13:18:39 -0400 Subject: Enforce java 1.8 to fix build problems --- android-lib.gradle | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'android-lib.gradle') diff --git a/android-lib.gradle b/android-lib.gradle index e8a4c6d..28fc945 100644 --- a/android-lib.gradle +++ b/android-lib.gradle @@ -61,6 +61,11 @@ android { pickFirst 'META-INF/library_release.kotlin_module' } + compileOptions { + sourceCompatibility '1.8' + targetCompatibility '1.8' + } + sourceSets { main.java.srcDirs += 'src/main/kotlin' test.java.srcDirs += 'src/test/kotlin' -- cgit v1.2.3