From 610c1960822a98739c58c296b407694870d1f2ac Mon Sep 17 00:00:00 2001 From: Philip Wedemann <22521688+hfhbd@users.noreply.github.com> Date: Sun, 24 Mar 2024 19:03:20 +0100 Subject: [PATCH] Remove explicit compiler target in Android (#316) Reuse jvmToolchain --- kotlinx-uuid-core/build.gradle.kts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/kotlinx-uuid-core/build.gradle.kts b/kotlinx-uuid-core/build.gradle.kts index b0d20f6..65e88f1 100644 --- a/kotlinx-uuid-core/build.gradle.kts +++ b/kotlinx-uuid-core/build.gradle.kts @@ -23,10 +23,6 @@ kotlin { } } - androidTarget { - instrumentedTestVariant.sourceSetTree.set(KotlinSourceSetTree.test) - } - sourceSets { commonMain { dependencies { @@ -56,10 +52,6 @@ android { testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } - compileOptions { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 - } testOptions { managedDevices { localDevices { @@ -77,6 +69,8 @@ android { kotlin { androidTarget { publishAllLibraryVariants() + + instrumentedTestVariant.sourceSetTree.set(KotlinSourceSetTree.test) } sourceSets { named("androidInstrumentedTest") {