Files
orx/orx-jvm/orx-panel/build.gradle.kts
2022-06-30 17:51:09 +02:00

28 lines
785 B
Plaintext

import ScreenshotsHelper.collectScreenshots
sourceSets {
val main by getting { }
val demo by creating {
java {
srcDir("src/demo/kotlin")
compileClasspath += main.getCompileClasspath()
runtimeClasspath += main.getRuntimeClasspath()
}
}
collectScreenshots(project, demo) { }
}
val demoImplementation by configurations.getting {}
val demoRuntimeOnly by configurations.getting {}
dependencies {
implementation(libs.kotlin.reflect)
demoImplementation(libs.openrndr.extensions)
demoImplementation(libs.openrndr.dialogs)
demoImplementation(libs.gson)
demoRuntimeOnly(libs.openrndr.gl3.core)
demoRuntimeOnly(libs.openrndr.gl3.natives)
demoImplementation(sourceSets.getByName("main").output)
}