From 486dd6268b676ed12708db877dcc4a8190084dc1 Mon Sep 17 00:00:00 2001 From: sim Date: Wed, 27 Dec 2023 08:57:05 +0100 Subject: [PATCH] Use jvmToolchain --- connector/build.gradle | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/connector/build.gradle b/connector/build.gradle index a87330a..7c72d3a 100644 --- a/connector/build.gradle +++ b/connector/build.gradle @@ -6,6 +6,10 @@ plugins { id 'maven-publish' } +kotlin { + jvmToolchain(17) +} + android { compileSdk 34 defaultConfig { @@ -23,15 +27,6 @@ android { } } - compileOptions { - sourceCompatibility JavaVersion.VERSION_17 - targetCompatibility JavaVersion.VERSION_17 - } - - kotlinOptions { - jvmTarget = '17' - } - buildTypes { release { minifyEnabled false