92 lines
2.9 KiB
Plaintext
92 lines
2.9 KiB
Plaintext
import ScreenshotsHelper.collectScreenshots
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
kotlin("plugin.serialization")
|
|
}
|
|
|
|
kotlin {
|
|
jvm {
|
|
compilations {
|
|
val demo by creating {
|
|
defaultSourceSet {
|
|
kotlin.srcDir("src/demo")
|
|
dependencies {
|
|
implementation(project(":orx-camera"))
|
|
implementation(project(":orx-color"))
|
|
implementation(project(":orx-jvm:orx-triangulation"))
|
|
implementation(libs.openrndr.application)
|
|
implementation(libs.openrndr.extensions)
|
|
runtimeOnly(libs.openrndr.gl3.core)
|
|
runtimeOnly(libs.openrndr.gl3.natives)
|
|
implementation(compilations["main"]!!.output.allOutputs)
|
|
}
|
|
}
|
|
collectScreenshots {
|
|
|
|
}
|
|
}
|
|
}
|
|
testRuns["test"].executionTask.configure {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|
|
js(IR) {
|
|
browser()
|
|
nodejs()
|
|
}
|
|
|
|
sourceSets {
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(project(":orx-parameters"))
|
|
implementation(project(":orx-shader-phrases"))
|
|
implementation(project(":orx-color"))
|
|
implementation(libs.kotlin.serialization.core)
|
|
implementation(libs.openrndr.application)
|
|
implementation(libs.openrndr.draw)
|
|
implementation(libs.openrndr.filter)
|
|
implementation(libs.kotlin.reflect)
|
|
implementation(libs.kotlin.logging)
|
|
}
|
|
}
|
|
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
implementation(project(":orx-jvm:orx-triangulation"))
|
|
}
|
|
}
|
|
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-common"))
|
|
implementation(kotlin("test-annotations-common"))
|
|
implementation(libs.kotlin.serialization.json)
|
|
implementation(libs.kotest)
|
|
}
|
|
}
|
|
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val jvmTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-common"))
|
|
implementation(kotlin("test-annotations-common"))
|
|
implementation(kotlin("test-junit5"))
|
|
implementation(libs.kotlin.serialization.json)
|
|
runtimeOnly(libs.bundles.jupiter)
|
|
implementation(libs.spek.dsl)
|
|
implementation(libs.kluent)
|
|
}
|
|
}
|
|
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val jsTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-js"))
|
|
}
|
|
}
|
|
}
|
|
} |