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") {