sourceSets { demo { java { srcDirs = ["src/demo/kotlin"] compileClasspath += main.getCompileClasspath() runtimeClasspath += main.getRuntimeClasspath() } } } def boofcvVersion = "0.34" dependencies { compile("org.boofcv:boofcv-core:$boofcvVersion") 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) }