Skip to content

Commit

Permalink
Remove explicit compiler target in Android (#316)
Browse files Browse the repository at this point in the history
Reuse jvmToolchain
  • Loading branch information
hfhbd authored Mar 24, 2024
1 parent 33f8248 commit 610c196
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions kotlinx-uuid-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ kotlin {
}
}

androidTarget {
instrumentedTestVariant.sourceSetTree.set(KotlinSourceSetTree.test)
}

sourceSets {
commonMain {
dependencies {
Expand Down Expand Up @@ -56,10 +52,6 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
testOptions {
managedDevices {
localDevices {
Expand All @@ -77,6 +69,8 @@ android {
kotlin {
androidTarget {
publishAllLibraryVariants()

instrumentedTestVariant.sourceSetTree.set(KotlinSourceSetTree.test)
}
sourceSets {
named("androidInstrumentedTest") {
Expand Down

0 comments on commit 610c196

Please sign in to comment.