plugins { kotlin("multiplatform") version "1.7.20" kotlin("plugin.serialization") version "1.7.20" `maven-publish` } group = "net.sergeych" version = "0.0.1-SNAPSHOT" repositories { mavenCentral() mavenLocal() maven("https://maven.universablockchain.com") } //configurations.all { // resolutionStrategy.cacheChangingModulesFor(30, "seconds") //} kotlin { jvm { compilations.all { kotlinOptions.jvmTarget = "1.8" } withJava() testRuns["test"].executionTask.configure { useJUnitPlatform() } } js(IR) { browser { commonWebpackConfig { cssSupport.enabled = true } } } sourceSets { val commonMain by getting { dependencies { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3") api("net.sergeych:unikrypto:1.2.1-SNAPSHOT") api("net.sergeych:parsec3:0.3.1-SNAPSHOT") api("net.sergeych:boss-serialization-mp:0.2.4-SNAPSHOT") 3 } } val commonTest by getting { dependencies { implementation(kotlin("test")) implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4") } } val jvmMain by getting val jvmTest by getting val jsMain by getting val jsTest by getting } }