plugins { id("ru.mipt.npm.gradle.mpp") } val plotlyVersion = "0.4.0-dev-1" kscience{ useSerialization() } kotlin { js{ //binaries.library() binaries.executable() browser { webpackTask { this.outputFileName = "js/visionforge-three.js" } } } afterEvaluate { val jsBrowserDistribution by tasks.getting tasks.getByName("jvmProcessResources") { dependsOn(jsBrowserDistribution) afterEvaluate { from(jsBrowserDistribution) } } } sourceSets { commonMain { dependencies { api(project(":visionforge-core")) api("space.kscience:plotlykt-core:${plotlyVersion}") } } } }