45 lines
862 B
Text
45 lines
862 B
Text
|
plugins {
|
||
|
alias(libs.plugins.kotlinMultiplatform)
|
||
|
alias(libs.plugins.androidLibrary)
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
androidTarget {
|
||
|
compilations.all {
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "11"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
jvm()
|
||
|
|
||
|
iosX64()
|
||
|
iosArm64()
|
||
|
iosSimulatorArm64()
|
||
|
|
||
|
sourceSets {
|
||
|
commonMain.dependencies {
|
||
|
implementation(libs.cryptography.bigint)
|
||
|
}
|
||
|
|
||
|
commonTest.dependencies {
|
||
|
implementation(libs.kotlin.test)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace = "net.agorise.shared.crypto"
|
||
|
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
}
|
||
|
}
|