0.7.4-SNAPSHOT back to no wasm; public/secret key renamed with compatibility aliases and deprecation warnings
This commit is contained in:
1 parent
d180da309b
commit
e2d4fb07ad
16 files changed
+113
-108
No files matched your search
+18
-19
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
|
||||
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||
|
||||
plugins {
|
||||
@@ -20,13 +19,13 @@ plugins {
|
||||
}
|
||||
|
||||
group = "net.sergeych"
|
||||
version = "0.8.1"
|
||||
version = "0.7.4-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://maven.universablockchain.com/")
|
||||
maven("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
||||
maven("https://gitea.sergeych.net/api/packages/YoungBlood/maven")
|
||||
// maven("https://gitea.sergeych.net/api/packages/YoungBlood/maven")
|
||||
mavenLocal()
|
||||
}
|
||||
|
||||
@@ -50,10 +49,10 @@ kotlin {
|
||||
iosArm64()
|
||||
iosSimulatorArm64()
|
||||
mingwX64()
|
||||
@OptIn(ExperimentalWasmDsl::class)
|
||||
wasmJs {
|
||||
browser()
|
||||
}
|
||||
// @OptIn(ExperimentalWasmDsl::class)
|
||||
// wasmJs {
|
||||
// browser()
|
||||
// }
|
||||
val ktor_version = "2.3.6"
|
||||
|
||||
sourceSets {
|
||||
@@ -97,18 +96,18 @@ kotlin {
|
||||
for (platform in listOf(linuxX64Main, linuxArm64Main, macosX64Main, macosArm64Main, iosX64Main, iosArm64Main, iosSimulatorArm64Main, mingwX64Main))
|
||||
platform { dependsOn(native) }
|
||||
|
||||
val wasmJsMain by getting {
|
||||
val wasmJsTargetRegex = Regex(pattern = "wasmJs.*")
|
||||
configurations.all {
|
||||
if (wasmJsTargetRegex.containsMatchIn(input = this.name)) {
|
||||
resolutionStrategy.dependencySubstitution {
|
||||
substitute(module("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.9.2"))
|
||||
.using(module("net.sergeych:multiplatform-crypto-libsodium-bindings:0.9.4-SNAPSHOT"))
|
||||
.withoutClassifier()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// val wasmJsMain by getting {
|
||||
// val wasmJsTargetRegex = Regex(pattern = "wasmJs.*")
|
||||
// configurations.all {
|
||||
// if (wasmJsTargetRegex.containsMatchIn(input = this.name)) {
|
||||
// resolutionStrategy.dependencySubstitution {
|
||||
// substitute(module("com.ionspin.kotlin:multiplatform-crypto-libsodium-bindings:0.9.2"))
|
||||
// .using(module("net.sergeych:multiplatform-crypto-libsodium-bindings:0.9.4-SNAPSHOT"))
|
||||
// .withoutClassifier()
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user