diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-02-23 19:19:25 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-02-25 08:57:26 +0530 |
commit | cbf2ea7b48710577a432904de3b08be4acba664c (patch) | |
tree | 343d4cbeb1b562f8362f6dd0e91397b06166484b | |
parent | 8078347880c59d66df89a367e2d696f03ab7e76c (diff) |
Target JVM 1.8 from Kotlin as well
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | app/build.gradle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 8817c847..08fcad93 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,6 +12,11 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { + kotlinOptions { + jvmTarget = '1.8' + } + } compileSdkVersion 29 dataBinding.enabled true defaultConfig { |