From 90dfd9f685a5725cae680038dd56dd1dfa5172a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Braun?= Date: Fri, 10 May 2024 12:41:00 +0200 Subject: [PATCH] Bump to JDK target 17 --- app/build.gradle.kts | 6 +++--- requirektx-bundle/build.gradle.kts | 6 +++--- requirektx-intent/build.gradle.kts | 6 +++--- requirektx-navigation/build.gradle.kts | 6 +++--- requirektx-work/build.gradle.kts | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e574e14..2083f13 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -7,7 +7,7 @@ kotlin { androidTarget { compilations.all { kotlinOptions { - jvmTarget = "11" + jvmTarget = "17" } } } @@ -48,8 +48,8 @@ android { } } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } packaging { resources { diff --git a/requirektx-bundle/build.gradle.kts b/requirektx-bundle/build.gradle.kts index 8378256..26bfdf4 100644 --- a/requirektx-bundle/build.gradle.kts +++ b/requirektx-bundle/build.gradle.kts @@ -8,7 +8,7 @@ kotlin { publishLibraryVariants("release") compilations.all { kotlinOptions { - jvmTarget = "11" + jvmTarget = "17" } } } @@ -41,7 +41,7 @@ android { } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } } diff --git a/requirektx-intent/build.gradle.kts b/requirektx-intent/build.gradle.kts index 91deaaf..13e4b00 100644 --- a/requirektx-intent/build.gradle.kts +++ b/requirektx-intent/build.gradle.kts @@ -8,7 +8,7 @@ kotlin { publishLibraryVariants("release") compilations.all { kotlinOptions { - jvmTarget = "11" + jvmTarget = "17" } } } @@ -42,7 +42,7 @@ android { minSdk = 21 } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } } diff --git a/requirektx-navigation/build.gradle.kts b/requirektx-navigation/build.gradle.kts index a43640a..5ecbd8f 100644 --- a/requirektx-navigation/build.gradle.kts +++ b/requirektx-navigation/build.gradle.kts @@ -8,7 +8,7 @@ kotlin { publishLibraryVariants("release") compilations.all { kotlinOptions { - jvmTarget = "11" + jvmTarget = "17" } } } @@ -45,7 +45,7 @@ android { minSdk = 21 } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } } diff --git a/requirektx-work/build.gradle.kts b/requirektx-work/build.gradle.kts index 228f057..e31742e 100644 --- a/requirektx-work/build.gradle.kts +++ b/requirektx-work/build.gradle.kts @@ -8,7 +8,7 @@ kotlin { publishLibraryVariants("release") compilations.all { kotlinOptions { - jvmTarget = "11" + jvmTarget = "17" } } } @@ -52,7 +52,7 @@ android { consumerProguardFile("consumer-rules.pro") } compileOptions { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } }