Update crypto module build gradle
This commit is contained in:
parent
143ad7cc23
commit
7c6a31d765
@ -115,7 +115,7 @@ kotlin {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hostOsName == "macos") {
|
runningOnMacos {
|
||||||
iosX64("ios") {
|
iosX64("ios") {
|
||||||
binaries {
|
binaries {
|
||||||
framework {
|
framework {
|
||||||
@ -146,7 +146,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hostOsName == "windows") {
|
runningOnWindows {
|
||||||
|
|
||||||
mingwX64() {
|
mingwX64() {
|
||||||
binaries {
|
binaries {
|
||||||
@ -224,7 +224,7 @@ kotlin {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (hostOsName == "linux") {
|
runningOnLinuxx86_64 {
|
||||||
val jvmMain by getting {
|
val jvmMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(kotlin(Deps.Jvm.stdLib))
|
implementation(kotlin(Deps.Jvm.stdLib))
|
||||||
@ -267,6 +267,10 @@ kotlin {
|
|||||||
kotlin.srcDir("src/nativeTest/kotlin")
|
kotlin.srcDir("src/nativeTest/kotlin")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
runningOnLinuxxArm64 {
|
||||||
//Not supported in coroutines at the moment
|
//Not supported in coroutines at the moment
|
||||||
// val linuxArm32HfpMain by getting {
|
// val linuxArm32HfpMain by getting {
|
||||||
// dependsOn(nativeMain)
|
// dependsOn(nativeMain)
|
||||||
@ -286,7 +290,7 @@ kotlin {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hostOsName == "macos") {
|
runningOnMacos{
|
||||||
|
|
||||||
val iosMain by getting {
|
val iosMain by getting {
|
||||||
dependsOn(nativeMain)
|
dependsOn(nativeMain)
|
||||||
@ -335,7 +339,7 @@ kotlin {
|
|||||||
// dependsOn(commonTest)
|
// dependsOn(commonTest)
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
if (hostOsName == "windows") {
|
runningOnWindows {
|
||||||
val mingwX64Main by getting {
|
val mingwX64Main by getting {
|
||||||
dependsOn(commonMain)
|
dependsOn(commonMain)
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -389,7 +393,7 @@ tasks {
|
|||||||
platforms = listOf("Common")
|
platforms = listOf("Common")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (getHostOsName() == "linux") {
|
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
|
||||||
|
|
||||||
val jvmTest by getting(Test::class) {
|
val jvmTest by getting(Test::class) {
|
||||||
testLogging {
|
testLogging {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user