feature/root #69
@ -5,6 +5,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven("https://repo.kotlin.link")
|
maven("https://repo.kotlin.link")
|
||||||
}
|
}
|
||||||
@ -15,7 +16,6 @@ dependencies {
|
|||||||
|
|
||||||
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile> {
|
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile> {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
useIR = true
|
|
||||||
jvmTarget = ru.mipt.npm.gradle.KScienceVersions.JVM_TARGET.toString()
|
jvmTarget = ru.mipt.npm.gradle.KScienceVersions.JVM_TARGET.toString()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -29,7 +29,7 @@ tasks.withType<Test> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.processJupyterApiResources {
|
tasks.processJupyterApiResources {
|
||||||
libraryProducers = listOf("space.kscience.dataforge.playground.VisionForgePlayGroundForJupyter")
|
libraryProducers = listOf("playground.VisionForgePlayGroundForJupyter")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.findByName("shadowJar")?.dependsOn("processJupyterApiResources")
|
tasks.findByName("shadowJar")?.dependsOn("processJupyterApiResources")
|
@ -1,4 +1,4 @@
|
|||||||
package space.kscience.dataforge.playground
|
package playground
|
||||||
|
|
||||||
import kotlinx.html.div
|
import kotlinx.html.div
|
||||||
import kotlinx.html.id
|
import kotlinx.html.id
|
||||||
@ -24,7 +24,7 @@ import space.kscience.visionforge.visionManager
|
|||||||
|
|
||||||
@JupyterLibrary
|
@JupyterLibrary
|
||||||
@DFExperimental
|
@DFExperimental
|
||||||
internal class VisionForgePlayGroundForJupyter : JupyterIntegration() {
|
public class VisionForgePlayGroundForJupyter : JupyterIntegration() {
|
||||||
|
|
||||||
private val context = Context("VisionForge") {
|
private val context = Context("VisionForge") {
|
||||||
plugin(Solids)
|
plugin(Solids)
|
@ -51,25 +51,25 @@ kotlin {
|
|||||||
sourceSets {
|
sourceSets {
|
||||||
val commonMain by getting {
|
val commonMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":visionforge-solid"))
|
api(project(":visionforge-solid"))
|
||||||
implementation(project(":visionforge-gdml"))
|
api(project(":visionforge-gdml"))
|
||||||
implementation(project(":visionforge-plotly"))
|
api(project(":visionforge-plotly"))
|
||||||
implementation(projects.visionforge.visionforgeMarkdown)
|
api(projects.visionforge.visionforgeMarkdown)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val jsMain by getting{
|
val jsMain by getting{
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":ui:ring"))
|
api(project(":ui:ring"))
|
||||||
implementation(project(":visionforge-threejs"))
|
api(project(":visionforge-threejs"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val jvmMain by getting{
|
val jvmMain by getting{
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":visionforge-server"))
|
api(project(":visionforge-server"))
|
||||||
implementation("ch.qos.logback:logback-classic:1.2.3")
|
api("ch.qos.logback:logback-classic:1.2.3")
|
||||||
implementation("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
|
api("com.github.Ricky12Awesome:json-schema-serialization:0.6.6")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,7 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
|
|||||||
kotlin.mpp.stability.nowarn=true
|
kotlin.mpp.stability.nowarn=true
|
||||||
kotlin.native.enableDependencyPropagation=false
|
kotlin.native.enableDependencyPropagation=false
|
||||||
|
|
||||||
|
kotlin.jupyter.add.scanner=false
|
||||||
|
|
||||||
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1G
|
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1G
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
Loading…
Reference in New Issue
Block a user