36 lines
914 B
Plaintext
36 lines
914 B
Plaintext
|
plugins {
|
||
|
kotlin("jvm")
|
||
|
kotlin("jupyter.api")
|
||
|
id("com.github.johnrengelman.shadow") version "6.1.0"
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
maven("https://repo.kotlin.link")
|
||
|
maven("https://dl.bintray.com/mipt-npm/dataforge")
|
||
|
maven("https://dl.bintray.com/mipt-npm/kscience")
|
||
|
maven("https://dl.bintray.com/mipt-npm/dev")
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(project(":demo:playground"))
|
||
|
}
|
||
|
|
||
|
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile> {
|
||
|
kotlinOptions {
|
||
|
useIR = true
|
||
|
jvmTarget = ru.mipt.npm.gradle.KScienceVersions.JVM_TARGET.toString()
|
||
|
}
|
||
|
}
|
||
|
|
||
|
extensions.findByType<JavaPluginExtension>()?.apply {
|
||
|
targetCompatibility = ru.mipt.npm.gradle.KScienceVersions.JVM_TARGET
|
||
|
}
|
||
|
|
||
|
tasks.withType<Test> {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
tasks.processJupyterApiResources {
|
||
|
libraryProducers = listOf("hep.dataforge.playground.VisionForgePlayGroundForJupyter")
|
||
|
}
|