Skip to content

Commit

Permalink
Merge pull request #1 from saschpe/android
Browse files Browse the repository at this point in the history
Publish Android variant
  • Loading branch information
saschpe authored Mar 10, 2022
2 parents 529e12b + 0f05d99 commit e0e7610
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repositories {
}

dependencies {
implementation("de.peilicke.sascha:kase64:1.0.2")
implementation("de.peilicke.sascha:kase64:1.0.3")
}
```

Expand Down
15 changes: 7 additions & 8 deletions kase64/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,17 @@ repositories {
}

kotlin {
android()
android { publishAllLibraryVariants() }
ios { binaries.framework("Kase64") }
iosSimulatorArm64 { binaries.framework("Kase64") }
targets.withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithSimulatorTests::class.java) {
testRuns["test"].deviceId = "iPhone 13"
}
js {
nodejs()
compilations.all {
kotlinOptions.sourceMap = true
kotlinOptions.moduleKind = "umd"
}
}
jvm {
testRuns["test"].executionTask.configure { useJUnitPlatform() }
}
jvm { testRuns["test"].executionTask.configure { useJUnitPlatform() } }

sourceSets["commonTest"].dependencies {
implementation(kotlin("test"))
Expand All @@ -35,6 +30,10 @@ kotlin {
sourceSets["iosSimulatorArm64Test"].dependsOn(sourceSets["iosTest"])

sourceSets.remove(sourceSets["androidAndroidTestRelease"]) // https://issuetracker.google.com/issues/152187160

targets.withType(org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTargetWithSimulatorTests::class.java) {
testRuns["test"].deviceId = "iPhone 13"
}
}

android {
Expand All @@ -50,7 +49,7 @@ android {
}

group = "de.peilicke.sascha"
version = "1.0.2"
version = "1.0.3"

val javadocJar by tasks.registering(Jar::class) {
archiveClassifier.set("javadoc")
Expand Down

0 comments on commit e0e7610

Please sign in to comment.