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.2" dependencies { api project(":orx-noise") implementation("com.github.ricardomatias:delaunator:$delaunatorVersion") demoImplementation("org.openrndr:openrndr-application:$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) }