From 5a01e45855272ddcc9925ae0457bce3b42573503 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 14 Oct 2021 15:21:31 +0200 Subject: [PATCH] Java 11 --- build.gradle | 2 +- gradle/android_dependencies.gradle | 4 ++-- wear/build.gradle | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 1786558504..57ee04350b 100644 --- a/build.gradle +++ b/build.gradle @@ -73,7 +73,7 @@ allprojects { "-Xuse-experimental=kotlinx.coroutines.ExperimentalCoroutinesApi", '-Xjvm-default=all' //Support @JvmDefault ] - jvmTarget = "1.8" + jvmTarget = "11" } } } diff --git a/gradle/android_dependencies.gradle b/gradle/android_dependencies.gradle index a712510094..9a536c2e8b 100644 --- a/gradle/android_dependencies.gradle +++ b/gradle/android_dependencies.gradle @@ -30,8 +30,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } lintOptions { diff --git a/wear/build.gradle b/wear/build.gradle index c92e76a22b..2f8d8ed9e0 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -73,8 +73,8 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } lintOptions {