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 { plugins {
id("ru.mipt.npm.gradle.project") 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") val dataforgeVersion by extra("0.5.2")

View File

@ -45,8 +45,8 @@ kotlin {
jvmMain { jvmMain {
dependencies { dependencies {
implementation("org.apache.commons:commons-math3:3.6.1") implementation("org.apache.commons:commons-math3:3.6.1")
implementation(npmlibs.ktor.server.cio) implementation("io.ktor-server-cio:${npmlibs.versions.ktor}")
implementation(npmlibs.ktor.serialization) implementation("io.ktor:ktor-serialization-kotlinx-json:${npmlibs.versions.ktor}")
} }
} }
jsMain { jsMain {

View File

@ -1,12 +1,7 @@
kotlin.code.style=official kotlin.code.style=official
kotlin.mpp.stability.nowarn=true kotlin.mpp.stability.nowarn=true
kotlin.jupyter.add.scanner=false kotlin.jupyter.add.scanner=false
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1G
org.gradle.parallel=true org.gradle.parallel=true
publishing.github=false toolsVersion=0.11.4-kotlin-1.6.20
publishing.sonatype=false
toolsVersion=0.11.1-kotlin-1.6.10

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

@ -4,7 +4,7 @@ plugins {
dependencies { dependencies {
api(project(":visionforge-core")) api(project(":visionforge-core"))
api(npmlibs.ktor.server.cio) api("io.ktor-server-cio:${npmlibs.versions.ktor}")
api(npmlibs.ktor.html.builder) api("io.ktor:ktor-server-html-builder:${npmlibs.versions.ktor}")
api(npmlibs.ktor.websockets) api("io.ktor:ktor-server-websockets:${npmlibs.versions.ktor}")
} }

View File

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