Update build tools

This commit is contained in:
Alexander Nozik 2022-04-13 15:02:35 +03:00
parent 7ee40679b9
commit 9648533ac8
No known key found for this signature in database
GPG Key ID: F7FCF2DD25C71357
8 changed files with 10 additions and 9216 deletions

View File

@ -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")

View File

@ -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 {

View File

@ -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

View File

@ -5,7 +5,7 @@ plugins {
val dataforgeVersion: String by rootProject.extra
kotlin{
js{
js(IR){
useCommonJs()
browser {
commonWebpackConfig {

View File

@ -3,7 +3,7 @@ plugins {
}
kotlin {
js{
js(IR){
binaries.library()
}
sourceSets {

View File

@ -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}")
}

View File

@ -5,7 +5,7 @@ plugins {
val ktorVersion: String by rootProject.extra
kotlin {
js{
js(IR){
browser {
webpackTask {
this.outputFileName = "js/visionforge-three.js"