From 6aaaf28ceadcf7d2542b0d7d99cbfa9f6ccd4c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petrus=20Nguy=E1=BB=85n=20Th=C3=A1i=20H=E1=BB=8Dc?= Date: Fri, 17 Dec 2021 00:10:46 +0700 Subject: [PATCH] VERSION_11 --- app/build.gradle.kts | 6 +++--- build.gradle.kts | 2 +- core-ui/build.gradle.kts | 6 +++--- core/build.gradle.kts | 4 ++-- data/build.gradle.kts | 6 +++--- domain/build.gradle.kts | 4 ++-- feature-add/build.gradle.kts | 6 +++--- feature-main/build.gradle.kts | 6 +++--- feature-search/build.gradle.kts | 6 +++--- mvi/mvi-base/build.gradle.kts | 6 +++--- mvi/mvi-testing/build.gradle.kts | 6 +++--- test-utils/build.gradle.kts | 4 ++-- 12 files changed, 31 insertions(+), 31 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 6d8e5bc6..177bcfc4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -34,10 +34,10 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } buildFeatures { viewBinding = true } testOptions { diff --git a/build.gradle.kts b/build.gradle.kts index 42af44ed..97b5ad43 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -112,7 +112,7 @@ subprojects { allprojects { tasks.withType { kotlinOptions { - val version = JavaVersion.VERSION_1_8.toString() + val version = JavaVersion.VERSION_11.toString() jvmTarget = version sourceCompatibility = version targetCompatibility = version diff --git a/core-ui/build.gradle.kts b/core-ui/build.gradle.kts index 019ff854..c98b76d2 100644 --- a/core-ui/build.gradle.kts +++ b/core-ui/build.gradle.kts @@ -26,10 +26,10 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } testOptions { unitTests.isIncludeAndroidResources = true diff --git a/core/build.gradle.kts b/core/build.gradle.kts index be8b8cde..ae2afcfd 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -3,8 +3,8 @@ plugins { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } dependencies { diff --git a/data/build.gradle.kts b/data/build.gradle.kts index 6aa10c16..f1dc6ff9 100644 --- a/data/build.gradle.kts +++ b/data/build.gradle.kts @@ -27,10 +27,10 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } testOptions { unitTests.isIncludeAndroidResources = true diff --git a/domain/build.gradle.kts b/domain/build.gradle.kts index 96639e96..9fed188e 100644 --- a/domain/build.gradle.kts +++ b/domain/build.gradle.kts @@ -3,8 +3,8 @@ plugins { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } dependencies { diff --git a/feature-add/build.gradle.kts b/feature-add/build.gradle.kts index 02b658ae..d422dbde 100644 --- a/feature-add/build.gradle.kts +++ b/feature-add/build.gradle.kts @@ -27,10 +27,10 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } buildFeatures { viewBinding = true } testOptions { diff --git a/feature-main/build.gradle.kts b/feature-main/build.gradle.kts index 50614bc0..e10c33a0 100644 --- a/feature-main/build.gradle.kts +++ b/feature-main/build.gradle.kts @@ -30,10 +30,10 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } buildFeatures { viewBinding = true } diff --git a/feature-search/build.gradle.kts b/feature-search/build.gradle.kts index c8b07fe6..006f55dd 100644 --- a/feature-search/build.gradle.kts +++ b/feature-search/build.gradle.kts @@ -27,10 +27,10 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } buildFeatures { viewBinding = true } testOptions { diff --git a/mvi/mvi-base/build.gradle.kts b/mvi/mvi-base/build.gradle.kts index 220af562..af2c4607 100644 --- a/mvi/mvi-base/build.gradle.kts +++ b/mvi/mvi-base/build.gradle.kts @@ -25,10 +25,10 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } } dependencies { diff --git a/mvi/mvi-testing/build.gradle.kts b/mvi/mvi-testing/build.gradle.kts index f1697c6f..6613add3 100644 --- a/mvi/mvi-testing/build.gradle.kts +++ b/mvi/mvi-testing/build.gradle.kts @@ -41,10 +41,10 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } - kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8.toString() } + kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } } dependencies { diff --git a/test-utils/build.gradle.kts b/test-utils/build.gradle.kts index e09f4e86..6f8799ba 100644 --- a/test-utils/build.gradle.kts +++ b/test-utils/build.gradle.kts @@ -3,8 +3,8 @@ plugins { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } dependencies {