Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Feb 5, 2024
1 parent c5d939e commit 3bcb8d9
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 32 deletions.
2 changes: 1 addition & 1 deletion conventions-vclib/src/main/kotlin/VcLibVersions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ object VcLibVersions {
const val resultlib = "1.5.3"
const val encoding = "1.2.3"
const val okio = "3.5.0"
const val kmpcrypto = "2.2.0-SNAPSHOT"
const val kmpcrypto = "2.3.0-SNAPSHOT"

object Jvm {
const val `jose-jwt` = "9.31"
Expand Down
17 changes: 8 additions & 9 deletions vclib-aries/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ val artifactVersion: String by extra
group = "at.asitplus.wallet"
version = artifactVersion

val iosDisabled: String? by extra


kotlin {
jvm()
if (iosDisabled != "true") {
iosArm64()
iosSimulatorArm64()
iosX64()
}
iosArm64()
iosSimulatorArm64()
iosX64()

sourceSets {
commonMain {
Expand All @@ -46,9 +42,12 @@ kotlin {
}
}

if (iosDisabled != "true") exportIosFramework("VcLibAriesKmm", *commonIosExports(), project(":vclib"))
exportIosFramework("VcLibAriesKmm", *commonIosExports(), project(":vclib"))

val javadocJar = setupDokka(baseUrl = "https://github.com/a-sit-plus/kmm-vc-library/tree/main/", multiModuleDoc = true)
val javadocJar = setupDokka(
baseUrl = "https://github.com/a-sit-plus/kmm-vc-library/tree/main/",
multiModuleDoc = true
)

publishing {
publications {
Expand Down
18 changes: 8 additions & 10 deletions vclib-openid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@ group = "at.asitplus.wallet"
version = artifactVersion


val iosDisabled: String? by extra


kotlin {
jvm()

if (iosDisabled != "true") {
iosArm64()
iosSimulatorArm64()
iosX64()
}
iosArm64()
iosSimulatorArm64()
iosX64()

sourceSets {
commonMain {
Expand All @@ -49,9 +44,12 @@ kotlin {
}
}

if (iosDisabled != "true") exportIosFramework("VcLibOpenIdKmm", *commonIosExports(), project(":vclib"))
exportIosFramework("VcLibOpenIdKmm", *commonIosExports(), project(":vclib"))

val javadocJar = setupDokka(baseUrl = "https://github.com/a-sit-plus/kmm-vc-library/tree/main/", multiModuleDoc = true)
val javadocJar = setupDokka(
baseUrl = "https://github.com/a-sit-plus/kmm-vc-library/tree/main/",
multiModuleDoc = true
)

publishing {
publications {
Expand Down
23 changes: 11 additions & 12 deletions vclib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,15 @@ group = "at.asitplus.wallet"
version = artifactVersion


val iosDisabled: String? by extra


kotlin {
jvm()
if (iosDisabled != "true") {
iosArm64()
iosSimulatorArm64()
iosX64()
}
iosArm64()
iosSimulatorArm64()
iosX64()
sourceSets {

commonMain {
commonMain {
dependencies {
commonImplementationDependencies()
api("at.asitplus.crypto:datatypes-cose:${VcLibVersions.kmpcrypto}")
Expand All @@ -41,12 +37,12 @@ kotlin {
}


jvmMain {
jvmMain {
dependencies {
implementation(bouncycastle("bcpkix"))
}
}
jvmTest {
jvmTest {
dependencies {
implementation("com.nimbusds:nimbus-jose-jwt:${VcLibVersions.Jvm.`jose-jwt`}")
implementation("org.json:json:${VcLibVersions.Jvm.json}")
Expand All @@ -55,9 +51,12 @@ kotlin {
}
}

if (iosDisabled != "true") exportIosFramework("VcLibKmm", *commonIosExports())
exportIosFramework("VcLibKmm", *commonIosExports())

val javadocJar = setupDokka(baseUrl = "https://github.com/a-sit-plus/kmm-vc-library/tree/main/", multiModuleDoc = true)
val javadocJar = setupDokka(
baseUrl = "https://github.com/a-sit-plus/kmm-vc-library/tree/main/",
multiModuleDoc = true
)

publishing {
publications {
Expand Down

0 comments on commit 3bcb8d9

Please sign in to comment.