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