forked from kscience/visionforge
Update build tools
This commit is contained in:
parent
7ee40679b9
commit
9648533ac8
@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
id("ru.mipt.npm.gradle.project")
|
||||
id("org.jetbrains.kotlinx.kover") version "0.5.0-RC"
|
||||
// id("org.jetbrains.kotlinx.kover") version "0.5.0"
|
||||
}
|
||||
|
||||
val dataforgeVersion by extra("0.5.2")
|
||||
|
@ -45,8 +45,8 @@ kotlin {
|
||||
jvmMain {
|
||||
dependencies {
|
||||
implementation("org.apache.commons:commons-math3:3.6.1")
|
||||
implementation(npmlibs.ktor.server.cio)
|
||||
implementation(npmlibs.ktor.serialization)
|
||||
implementation("io.ktor-server-cio:${npmlibs.versions.ktor}")
|
||||
implementation("io.ktor:ktor-serialization-kotlinx-json:${npmlibs.versions.ktor}")
|
||||
}
|
||||
}
|
||||
jsMain {
|
||||
|
@ -1,12 +1,7 @@
|
||||
kotlin.code.style=official
|
||||
kotlin.mpp.stability.nowarn=true
|
||||
|
||||
kotlin.jupyter.add.scanner=false
|
||||
|
||||
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1G
|
||||
org.gradle.parallel=true
|
||||
|
||||
publishing.github=false
|
||||
publishing.sonatype=false
|
||||
|
||||
toolsVersion=0.11.1-kotlin-1.6.10
|
||||
toolsVersion=0.11.4-kotlin-1.6.20
|
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@ plugins {
|
||||
val dataforgeVersion: String by rootProject.extra
|
||||
|
||||
kotlin{
|
||||
js{
|
||||
js(IR){
|
||||
useCommonJs()
|
||||
browser {
|
||||
commonWebpackConfig {
|
||||
|
@ -3,7 +3,7 @@ plugins {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
js{
|
||||
js(IR){
|
||||
binaries.library()
|
||||
}
|
||||
sourceSets {
|
||||
|
@ -4,7 +4,7 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
api(project(":visionforge-core"))
|
||||
api(npmlibs.ktor.server.cio)
|
||||
api(npmlibs.ktor.html.builder)
|
||||
api(npmlibs.ktor.websockets)
|
||||
api("io.ktor-server-cio:${npmlibs.versions.ktor}")
|
||||
api("io.ktor:ktor-server-html-builder:${npmlibs.versions.ktor}")
|
||||
api("io.ktor:ktor-server-websockets:${npmlibs.versions.ktor}")
|
||||
}
|
@ -5,7 +5,7 @@ plugins {
|
||||
val ktorVersion: String by rootProject.extra
|
||||
|
||||
kotlin {
|
||||
js{
|
||||
js(IR){
|
||||
browser {
|
||||
webpackTask {
|
||||
this.outputFileName = "js/visionforge-three.js"
|
||||
|
Loading…
Reference in New Issue
Block a user