Skip to content

Commit

Permalink
fix: clean common gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Aug 12, 2024
1 parent aaa8914 commit 1787ee6
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions modules/openid-federation-common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig

plugins {
alias(libs.plugins.kotlinMultiplatform)
// alias(libs.plugins.androidLibrary)
alias(libs.plugins.androidLibrary)
kotlin("plugin.serialization") version "2.0.0"
}

val ktorVersion = "2.3.11"

repositories {
mavenCentral()
mavenLocal()
google()
}

kotlin {
@OptIn(ExperimentalWasmDsl::class)
jvm()

// wasmJs is not available yet for ktor until v3.x is released which is still in alpha
Expand Down Expand Up @@ -79,15 +74,14 @@ kotlin {
implementation("io.ktor:ktor-client-core-jvm:$ktorVersion")
runtimeOnly("io.ktor:ktor-client-cio-jvm:$ktorVersion")
implementation("com.nimbusds:nimbus-jose-jwt:9.40")
implementation("org.bouncycastle:bcprov-jdk15on:1.70")
}
}
val jvmTest by getting {
dependencies {
implementation(kotlin("test-junit"))
}
}

// TODO Should be placed back at a later point in time: https://sphereon.atlassian.net/browse/OIDF-50
// val androidMain by getting {
// dependencies {
// implementation("io.ktor:ktor-client-core-jvm:$ktorVersion")
Expand All @@ -102,6 +96,9 @@ kotlin {

// val iosMain by creating {
// dependsOn(commonMain)
// dependencies {
// implementation("io.ktor:ktor-client-core-ios:$ktorVersion")
// }
// }
// val iosX64Main by getting {
// dependsOn(iosMain)
Expand All @@ -124,7 +121,7 @@ kotlin {
// implementation("io.ktor:ktor-client-cio-iossimulatorarm64:$ktorVersion")
// }
// }
//

// val iosTest by creating {
// dependsOn(commonTest)
// dependencies {
Expand Down Expand Up @@ -169,4 +166,4 @@ kotlin {
// minSdk = libs.versions.android.minSdk.get().toInt()
// }
//}
//

0 comments on commit 1787ee6

Please sign in to comment.