sourceSets {
    demo {
        java {
            srcDirs = ["src/demo/kotlin"]
            compileClasspath += main.getCompileClasspath()
            runtimeClasspath += main.getRuntimeClasspath()
        }
    }
}

dependencies {
    implementation project(":orx-parameters")
    implementation project(":orx-compositor")
    implementation project(":orx-image-fit")
    implementation project(":orx-fx")

    implementation "cc.rabbitcontrol:rcp:0.3.26"
    implementation "com.google.zxing:core:3.4.0"
    implementation "com.google.zxing:javase:3.4.0"
    implementation "io.ktor:ktor-server-netty:1.3.1"

    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)
}
