49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
import ScreenshotsHelper.collectScreenshots
|
|
|
|
plugins {
|
|
org.openrndr.extra.convention.`kotlin-multiplatform`
|
|
}
|
|
|
|
kotlin {
|
|
jvm {
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val demo by compilations.getting {
|
|
// TODO: Move demos to /jvmDemo
|
|
defaultSourceSet {
|
|
kotlin.srcDir("src/demo/kotlin")
|
|
}
|
|
collectScreenshots { }
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(project(":orx-fx"))
|
|
implementation(project(":orx-parameters"))
|
|
implementation(project(":orx-shader-phrases"))
|
|
implementation(libs.openrndr.application)
|
|
implementation(libs.openrndr.draw)
|
|
implementation(libs.openrndr.filter)
|
|
implementation(libs.kotlin.reflect)
|
|
}
|
|
}
|
|
|
|
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val jvmTest by getting {
|
|
dependencies {
|
|
implementation(libs.spek.dsl)
|
|
implementation(libs.kluent)
|
|
}
|
|
}
|
|
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val jvmDemo by getting {
|
|
dependencies {
|
|
implementation(project(":orx-fx"))
|
|
}
|
|
}
|
|
}
|
|
} |