From 718a493a8a725bc5a65e1e53e8326df9fca5e5d0 Mon Sep 17 00:00:00 2001 From: Kyrillos Gaitanis Date: Fri, 29 Sep 2023 13:33:51 +0300 Subject: [PATCH] Set `source/targetCompatibility` & `jvmTarget` to Java 11 --- library/build.gradle.kts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 989e4bc..96d6170 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -11,6 +11,15 @@ group = "com.github.vinted" android { compileSdk = Versions.COMPILE_SDK_VERSION + compileOptions { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 + } + + kotlinOptions { + jvmTarget = "11" + } + defaultConfig { minSdk = Versions.MIN_SDK_VERSION }