24 lines
804 B
Groovy
24 lines
804 B
Groovy
sourceSets {
|
|
demo {
|
|
java {
|
|
srcDirs = ["src/demo/kotlin"]
|
|
compileClasspath += main.getCompileClasspath()
|
|
runtimeClasspath += main.getRuntimeClasspath()
|
|
}
|
|
}
|
|
}
|
|
|
|
def useSnapshot = false
|
|
def delaunatorVersion = (useSnapshot) ? "0.4.0-SNAPSHOT" : "1.0.1"
|
|
|
|
dependencies {
|
|
implementation project(":orx-noise")
|
|
|
|
implementation("com.github.ricardomatias:delaunator:$delaunatorVersion")
|
|
|
|
demoImplementation("org.openrndr:openrndr-core:$openrndrVersion")
|
|
demoImplementation("org.openrndr:openrndr-extensions:$openrndrVersion")
|
|
demoRuntimeOnly("org.openrndr:openrndr-gl3:$openrndrVersion")
|
|
demoRuntimeOnly("org.openrndr:openrndr-gl3-natives-$openrndrOS:$openrndrVersion")
|
|
demoImplementation(sourceSets.getByName("main").output)
|
|
} |