diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5a855b1a..e2ce3451 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ #Wed Oct 16 13:07:45 OMST 2019 -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStorePath=wrapper/dists diff --git a/postssystem.core/build.gradle b/postssystem.core/build.gradle index 1a2c74bb..918ad5c5 100644 --- a/postssystem.core/build.gradle +++ b/postssystem.core/build.gradle @@ -31,6 +31,7 @@ repositories { kotlin { jvm() + js() sourceSets { commonMain { @@ -54,9 +55,6 @@ kotlin { implementation kotlin('stdlib-jdk8') api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version" api "org.jetbrains.kotlinx:kotlinx-serialization-runtime:$kotlin_serialisation_runtime_version" - - api "com.soywiz.korlibs.klock:klock:$klockVersion" - api "com.benasher44:uuid:$uuidVersion" } } jvmTest { @@ -64,5 +62,12 @@ kotlin { implementation kotlin('test-junit') } } + jsMain { + dependencies { + implementation kotlin('stdlib-js') + api "org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$kotlin_coroutines_version" + api "org.jetbrains.kotlinx:kotlinx-serialization-runtime-js:$kotlin_serialisation_runtime_version" + } + } } } diff --git a/settings.gradle b/settings.gradle index 0a7796b0..467f37c0 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,3 @@ rootProject.name='postssystem' include ':postssystem.core' include ':postssystem.exposed' - -enableFeaturePreview("GRADLE_METADATA")