Migrate to Kotlin DSL build scripts (#243)
This commit is contained in:
@@ -24,7 +24,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.svg)
|
||||
|
||||
demoRuntimeOnly(libs.openrndr.ffmpeg.natives)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
@@ -16,7 +16,7 @@ kotlin {
|
||||
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
|
||||
@@ -19,7 +19,7 @@ kotlin {
|
||||
implementation(project(":orx-jvm:orx-gui"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ kotlin {
|
||||
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ kotlin {
|
||||
implementation(project(":orx-shapes"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
dependencies {
|
||||
implementation libs.gson
|
||||
implementation "org.rauschig:jarchivelib:1.0.0"
|
||||
implementation project(":orx-noise")
|
||||
}
|
||||
|
||||
5
orx-glslify/build.gradle.kts
Normal file
5
orx-glslify/build.gradle.kts
Normal file
@@ -0,0 +1,5 @@
|
||||
dependencies {
|
||||
implementation(libs.gson)
|
||||
implementation("org.rauschig:jarchivelib:1.0.0")
|
||||
implementation(project(":orx-noise"))
|
||||
}
|
||||
@@ -13,7 +13,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
dependencies {
|
||||
implementation project(":orx-fx")
|
||||
}
|
||||
3
orx-integral-image/build.gradle.kts
Normal file
3
orx-integral-image/build.gradle.kts
Normal file
@@ -0,0 +1,3 @@
|
||||
dependencies {
|
||||
implementation(project(":orx-fx"))
|
||||
}
|
||||
@@ -19,7 +19,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.svg)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
@@ -19,7 +19,7 @@ dependencies {
|
||||
api(libs.boofcv)
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
@@ -13,7 +13,7 @@ dependencies {
|
||||
implementation libs.gson
|
||||
demoImplementation(libs.openrndr.application)
|
||||
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoRuntimeOnly(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
|
||||
@@ -24,7 +24,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
demoImplementation(libs.openrndr.filter)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
demoImplementation(libs.openrndr.filter)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
|
||||
demoRuntimeOnly(libs.slf4j.simple)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ dependencies {
|
||||
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
dependencies {
|
||||
implementation project(":orx-jvm:orx-kinect-v1")
|
||||
runtimeOnly project(":orx-jvm:orx-kinect-v1-natives-${gradle.ext.openrndrOS}")
|
||||
runtimeOnly libs.openrndr.gl3
|
||||
runtimeOnly libs.openrndr.gl3.natives
|
||||
runtimeOnly "ch.qos.logback:logback-classic:1.2.11"
|
||||
}
|
||||
7
orx-jvm/orx-kinect-v1-demo/build.gradle.kts
Normal file
7
orx-jvm/orx-kinect-v1-demo/build.gradle.kts
Normal file
@@ -0,0 +1,7 @@
|
||||
dependencies {
|
||||
implementation(project(":orx-jvm:orx-kinect-v1"))
|
||||
runtimeOnly(project(":orx-jvm:orx-kinect-v1-${(gradle as ExtensionAware).extra["openrndrClassifier"]}"))
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
runtimeOnly("ch.qos.logback:logback-classic:1.2.11")
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
dependencies {
|
||||
api project(":orx-jvm:orx-kinect-common")
|
||||
api libs.libfreenect
|
||||
}
|
||||
4
orx-jvm/orx-kinect-v1/build.gradle.kts
Normal file
4
orx-jvm/orx-kinect-v1/build.gradle.kts
Normal file
@@ -0,0 +1,4 @@
|
||||
dependencies {
|
||||
api(project(":orx-jvm:orx-kinect-common"))
|
||||
api(libs.libfreenect)
|
||||
}
|
||||
@@ -39,7 +39,7 @@ dependencies {
|
||||
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
@@ -24,7 +24,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
|
||||
demoRuntimeOnly(libs.slf4j.simple)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ dependencies {
|
||||
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
@@ -21,7 +21,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.dialogs)
|
||||
demoImplementation(libs.gson)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.slf4j.simple)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
@@ -26,7 +26,7 @@ dependencies {
|
||||
implementation "io.ktor:ktor-server-netty:1.3.1"
|
||||
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
dependencies {
|
||||
runtimeOnly(variantOf(libs.librealsense) { classifier("macosx-x86_64") })
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
dependencies {
|
||||
runtimeOnly(variantOf(libs.librealsense) { classifier("windows-x86_64") })
|
||||
}
|
||||
@@ -8,15 +8,12 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
dependencies {
|
||||
api libs.librealsense
|
||||
api(libs.librealsense)
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(project(":orx-jvm:orx-realsense2-natives-${gradle.ext.openrndrOS}"))
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(project(":orx-jvm:orx-realsense2-${gradle.ext.openrndrClassifier}"))
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ dependencies {
|
||||
implementation(libs.gson)
|
||||
demoImplementation(libs.openrndr.application)
|
||||
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoRuntimeOnly(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
dependencies {
|
||||
implementation libs.openrndr.application
|
||||
implementation libs.openrndr.gl3
|
||||
implementation libs.openrndr.gl3.natives
|
||||
}
|
||||
5
orx-jvm/orx-syphon/build.gradle.kts
Normal file
5
orx-jvm/orx-syphon/build.gradle.kts
Normal file
@@ -0,0 +1,5 @@
|
||||
dependencies {
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.gl3.core)
|
||||
implementation(libs.openrndr.gl3.natives)
|
||||
}
|
||||
@@ -30,15 +30,13 @@ compileWrapgenKotlin {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
dependencies {
|
||||
implementation libs.gson
|
||||
implementation(libs.gson)
|
||||
demoImplementation(libs.openrndr.application)
|
||||
|
||||
demoRuntimeOnly(project(":orx-jvm:orx-tensorflow-${gradle.ext.openrndrClassifier}"))
|
||||
|
||||
demoRuntimeOnly(project(":orx-jvm:orx-tensorflow-natives-${gradle.ext.openrndrOS}"))
|
||||
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoRuntimeOnly(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
@@ -50,5 +48,3 @@ dependencies {
|
||||
// -- wrapgen
|
||||
wrapgenImplementation 'com.github.javaparser:javaparser-core:3.15.21'
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ dependencies {
|
||||
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
@@ -12,7 +12,7 @@ dependencies {
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoImplementation(libs.openrndr.ffmpeg)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(libs.openrndr.ffmpeg)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
@@ -11,7 +11,7 @@ sourceSets {
|
||||
dependencies {
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
@@ -12,7 +12,7 @@ dependencies {
|
||||
demoImplementation(project(":orx-camera"))
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
|
||||
@@ -13,7 +13,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ kotlin {
|
||||
implementation(project(":orx-hash-grid"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
dependencies {
|
||||
implementation libs.gson
|
||||
implementation project(":orx-noise")
|
||||
}
|
||||
|
||||
5
orx-palette/build.gradle.kts
Normal file
5
orx-palette/build.gradle.kts
Normal file
@@ -0,0 +1,5 @@
|
||||
dependencies {
|
||||
implementation(libs.gson)
|
||||
implementation(project(":orx-noise"))
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ kotlin {
|
||||
implementation(project(":orx-noise"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ kotlin {
|
||||
implementation(project(":orx-color"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ kotlin {
|
||||
implementation(project(":orx-camera"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ kotlin {
|
||||
implementation(project(":orx-jvm:orx-triangulation"))
|
||||
implementation(libs.openrndr.application)
|
||||
implementation(libs.openrndr.extensions)
|
||||
runtimeOnly(libs.openrndr.gl3)
|
||||
runtimeOnly(libs.openrndr.gl3.core)
|
||||
runtimeOnly(libs.openrndr.gl3.natives)
|
||||
implementation(compilations["main"]!!.output.allOutputs)
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ dependencies {
|
||||
implementation(libs.openrndr.filter)
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
@@ -14,7 +14,7 @@ dependencies {
|
||||
demoImplementation(project(":orx-camera"))
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
@@ -11,7 +11,7 @@ sourceSets {
|
||||
dependencies {
|
||||
demoImplementation(libs.openrndr.application)
|
||||
demoImplementation(libs.openrndr.extensions)
|
||||
demoRuntimeOnly(libs.openrndr.gl3)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.core)
|
||||
demoRuntimeOnly(libs.openrndr.gl3.natives)
|
||||
demoImplementation(sourceSets.getByName("main").output)
|
||||
}
|
||||
154
settings.gradle
154
settings.gradle
@@ -1,154 +0,0 @@
|
||||
rootProject.name = 'orx'
|
||||
|
||||
switch (org.gradle.internal.os.OperatingSystem.current()) {
|
||||
case org.gradle.internal.os.OperatingSystem.WINDOWS:
|
||||
gradle.ext.openrndrOS = "windows"
|
||||
break
|
||||
case org.gradle.internal.os.OperatingSystem.LINUX:
|
||||
gradle.ext.openrndrOS = "linux-x64"
|
||||
break
|
||||
case org.gradle.internal.os.OperatingSystem.MAC_OS:
|
||||
gradle.ext.openrndrOS = "macos"
|
||||
break
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
versionCatalogs {
|
||||
libs {
|
||||
version('kotlinApi', '1.6')
|
||||
version('kotlinLanguage', '1.6')
|
||||
version('kotlin', '1.6.20')
|
||||
version('jvmTarget', '1.8')
|
||||
version('kotlinxCoroutines', '1.6.0')
|
||||
version('kotlinLogging', '2.1.21')
|
||||
version('kotlinxSerialization', '1.3.2')
|
||||
version('spek', '2.0.15')
|
||||
version('boofcv', '0.39')
|
||||
version('kluent', '1.68')
|
||||
version('kotest', '5.2.1')
|
||||
version('junitJupiter', '5.8.2')
|
||||
version('slf4j', '1.7.36')
|
||||
version('openrndr', ((rootProject.properties.getOrDefault('OPENRNDR.version', System.getenv("OPENRNDR_VERSION"))) ?.replace('v','')) ?: '0.5.1-SNAPSHOT')
|
||||
version('libfreenect', '0.5.7-1.5.7')
|
||||
version('librealsense', '2.50.0-1.5.7')
|
||||
version('gson', '2.9.0')
|
||||
version('antlr', '4.9.3')
|
||||
version('tensorflow', '0.4.0')
|
||||
|
||||
library('openrndr-application', 'org.openrndr', 'openrndr-application').versionRef('openrndr')
|
||||
library('openrndr-extensions', 'org.openrndr', 'openrndr-extensions').versionRef('openrndr')
|
||||
library('openrndr-math', 'org.openrndr', 'openrndr-math').versionRef('openrndr')
|
||||
library('openrndr-shape', 'org.openrndr', 'openrndr-shape').versionRef('openrndr')
|
||||
library('openrndr-draw', 'org.openrndr', 'openrndr-draw').versionRef('openrndr')
|
||||
library('openrndr-event', 'org.openrndr', 'openrndr-event').versionRef('openrndr')
|
||||
library('openrndr-filter', 'org.openrndr', 'openrndr-filter').versionRef('openrndr')
|
||||
library('openrndr-dialogs', 'org.openrndr', 'openrndr-dialogs').versionRef('openrndr')
|
||||
library('openrndr-ffmpeg', 'org.openrndr', 'openrndr-ffmpeg').versionRef('openrndr')
|
||||
library('openrndr-ffmpeg-natives', 'org.openrndr', "openrndr-ffmpeg-natives-${gradle.ext.openrndrOS}").versionRef('openrndr')
|
||||
library('openrndr-svg', 'org.openrndr', 'openrndr-svg').versionRef('openrndr')
|
||||
library('openrndr-gl3', 'org.openrndr', 'openrndr-gl3').versionRef('openrndr')
|
||||
library('openrndr-gl3-natives', 'org.openrndr', "openrndr-gl3-natives-${gradle.ext.openrndrOS}").versionRef('openrndr')
|
||||
|
||||
library('tensorflow', 'org.tensorflow' ,'tensorflow-core-api').versionRef('tensorflow')
|
||||
library('boofcv', 'org.boofcv' ,'boofcv-core').versionRef('boofcv')
|
||||
library('libfreenect', 'org.bytedeco' ,'libfreenect').versionRef('libfreenect')
|
||||
library('librealsense', 'org.bytedeco' ,'librealsense2').versionRef('librealsense')
|
||||
|
||||
library('kotlin-logging', 'io.github.microutils' ,'kotlin-logging').versionRef('kotlinLogging')
|
||||
library('kotlin-coroutines', 'org.jetbrains.kotlinx', 'kotlinx-coroutines-core').versionRef('kotlinxCoroutines')
|
||||
library('kotlin-serialization-json', 'org.jetbrains.kotlinx', 'kotlinx-serialization-json').versionRef('kotlinxSerialization')
|
||||
library('kotlin-serialization-core', 'org.jetbrains.kotlinx', 'kotlinx-serialization-core').versionRef('kotlinxSerialization')
|
||||
library('kotlin-stdlib', 'org.jetbrains.kotlin', 'kotlin-stdlib').versionRef('kotlin')
|
||||
library('kotlin-test', 'org.jetbrains.kotlin', 'kotlin-test').versionRef('kotlin')
|
||||
library('kotlin-reflect', 'org.jetbrains.kotlin', 'kotlin-reflect').versionRef('kotlin')
|
||||
library('kotlin-gradlePlugin', 'org.jetbrains.kotlin', 'kotlin-gradle-plugin').versionRef('kotlin')
|
||||
library('kotlin-scriptingJvm', 'org.jetbrains.kotlin', 'kotlin-scripting-jvm').versionRef('kotlin')
|
||||
library('kotlin-scriptingJvmHost', 'org.jetbrains.kotlin', 'kotlin-scripting-jvm-host').versionRef('kotlin')
|
||||
library('kotlin-scriptingJSR223', 'org.jetbrains.kotlin', 'kotlin-scripting-jsr223').versionRef('kotlin')
|
||||
|
||||
library('spek-dsl', 'org.spekframework.spek2', 'spek-dsl-jvm').versionRef('spek')
|
||||
library('spek-junit5', 'org.spekframework.spek2', 'spek-runner-junit5').versionRef('spek')
|
||||
|
||||
library('jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junitJupiter')
|
||||
library('jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junitJupiter')
|
||||
|
||||
bundle('jupiter', ['jupiter-api', 'jupiter-engine'])
|
||||
|
||||
library('kotest', 'io.kotest', 'kotest-assertions-core').versionRef('kotest')
|
||||
library('kluent', 'org.amshove.kluent', 'kluent').versionRef('kluent')
|
||||
library('slf4j-simple', 'org.slf4j', 'slf4j-simple').versionRef('slf4j')
|
||||
library('gson', 'com.google.code.gson', 'gson').versionRef('gson')
|
||||
library('antlr', 'org.antlr', 'antlr4').versionRef('antlr')
|
||||
library('antlrRuntime', 'org.antlr', 'antlr4-runtime').versionRef('antlr')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include 'openrndr-demos',
|
||||
'orx-jvm:orx-boofcv',
|
||||
'orx-camera',
|
||||
'orx-jvm:orx-chataigne',
|
||||
'orx-color',
|
||||
'orx-compositor',
|
||||
'orx-compute-graph',
|
||||
'orx-compute-graph-nodes',
|
||||
'orx-jvm:orx-dnk3',
|
||||
'orx-easing',
|
||||
'orx-jvm:orx-file-watcher',
|
||||
'orx-parameters',
|
||||
'orx-filter-extension',
|
||||
'orx-fx',
|
||||
'orx-jvm:orx-git-archiver',
|
||||
'orx-jvm:orx-git-archiver-gradle',
|
||||
'orx-glslify',
|
||||
'orx-gradient-descent',
|
||||
'orx-hash-grid',
|
||||
'orx-integral-image',
|
||||
'orx-interval-tree',
|
||||
'orx-jumpflood',
|
||||
'orx-jvm:orx-gui',
|
||||
'orx-image-fit',
|
||||
'orx-kdtree',
|
||||
'orx-jvm:orx-keyframer',
|
||||
'orx-mesh-generators',
|
||||
'orx-jvm:orx-minim',
|
||||
'orx-jvm:orx-kotlin-parser',
|
||||
'orx-jvm:orx-midi',
|
||||
'orx-no-clear',
|
||||
'orx-noise',
|
||||
'orx-obj-loader',
|
||||
'orx-jvm:orx-olive',
|
||||
'orx-jvm:orx-osc',
|
||||
'orx-palette',
|
||||
'orx-jvm:orx-panel',
|
||||
'orx-jvm:orx-poisson-fill',
|
||||
'orx-quadtree',
|
||||
'orx-jvm:orx-rabbit-control',
|
||||
'orx-jvm:orx-realsense2',
|
||||
'orx-jvm:orx-realsense2-natives-linux-x64',
|
||||
'orx-jvm:orx-realsense2-natives-macos',
|
||||
'orx-jvm:orx-realsense2-natives-windows',
|
||||
'orx-jvm:orx-runway',
|
||||
'orx-shader-phrases',
|
||||
'orx-shade-styles',
|
||||
'orx-shapes',
|
||||
'orx-jvm:orx-syphon',
|
||||
'orx-temporal-blur',
|
||||
'orx-jvm:orx-tensorflow',
|
||||
'orx-jvm:orx-tensorflow-gpu-natives-linux-x64',
|
||||
'orx-jvm:orx-tensorflow-gpu-natives-windows',
|
||||
'orx-jvm:orx-tensorflow-natives-linux-x64',
|
||||
'orx-jvm:orx-tensorflow-natives-macos',
|
||||
'orx-jvm:orx-tensorflow-natives-windows',
|
||||
'orx-timer',
|
||||
'orx-time-operators',
|
||||
'orx-jvm:orx-triangulation',
|
||||
'orx-jvm:orx-kinect-common',
|
||||
'orx-jvm:orx-kinect-v1',
|
||||
'orx-jvm:orx-kinect-v1-natives-linux-arm64',
|
||||
'orx-jvm:orx-kinect-v1-natives-linux-x64',
|
||||
'orx-jvm:orx-kinect-v1-natives-macos',
|
||||
'orx-jvm:orx-kinect-v1-natives-windows',
|
||||
'orx-jvm:orx-kinect-v1-demo',
|
||||
'orx-jvm:orx-video-profiles'
|
||||
|
||||
162
settings.gradle.kts
Normal file
162
settings.gradle.kts
Normal file
@@ -0,0 +1,162 @@
|
||||
import org.gradle.internal.os.OperatingSystem
|
||||
|
||||
rootProject.name = "orx"
|
||||
|
||||
@Suppress("INACCESSIBLE_TYPE")
|
||||
// This is equivalent to `gradle.ext` https://stackoverflow.com/a/65377323/17977931
|
||||
val openrndrClassifier: String by (gradle as ExtensionAware).extra(
|
||||
"natives-" + when (val os = OperatingSystem.current()) {
|
||||
OperatingSystem.WINDOWS -> "windows"
|
||||
OperatingSystem.LINUX -> "linux-x64"
|
||||
OperatingSystem.MAC_OS -> "macos"
|
||||
else -> error("Unsupported operating system: $os")
|
||||
}
|
||||
)
|
||||
|
||||
val openrndrVersion =
|
||||
(extra.properties["OPENRNDR.version"] as String? ?: System.getenv("OPENRNDR_VERSION"))?.replace("v", "")
|
||||
?: "0.5.1-SNAPSHOT"
|
||||
|
||||
dependencyResolutionManagement {
|
||||
versionCatalogs {
|
||||
create("libs") {
|
||||
version("kotlinApi", "1.6")
|
||||
version("kotlinLanguage", "1.6")
|
||||
version("kotlin", "1.6.20")
|
||||
version("jvmTarget", "1.8")
|
||||
version("kotlinxCoroutines", "1.6.0")
|
||||
version("kotlinLogging", "2.1.21")
|
||||
version("kotlinxSerialization", "1.3.2")
|
||||
version("spek", "2.0.15")
|
||||
version("boofcv", "0.39")
|
||||
version("kluent", "1.68")
|
||||
version("kotest", "5.2.1")
|
||||
version("junitJupiter", "5.8.2")
|
||||
version("slf4j", "1.7.36")
|
||||
version("openrndr", openrndrVersion)
|
||||
version("libfreenect", "0.5.7-1.5.7")
|
||||
version("librealsense", "2.50.0-1.5.7")
|
||||
version("gson", "2.9.0")
|
||||
version("antlr", "4.9.3")
|
||||
version("tensorflow", "0.4.0")
|
||||
|
||||
library("openrndr-application", "org.openrndr", "openrndr-application").versionRef("openrndr")
|
||||
library("openrndr-extensions", "org.openrndr", "openrndr-extensions").versionRef("openrndr")
|
||||
library("openrndr-math", "org.openrndr", "openrndr-math").versionRef("openrndr")
|
||||
library("openrndr-shape", "org.openrndr", "openrndr-shape").versionRef("openrndr")
|
||||
library("openrndr-draw", "org.openrndr", "openrndr-draw").versionRef("openrndr")
|
||||
library("openrndr-event", "org.openrndr", "openrndr-event").versionRef("openrndr")
|
||||
library("openrndr-filter", "org.openrndr", "openrndr-filter").versionRef("openrndr")
|
||||
library("openrndr-dialogs", "org.openrndr", "openrndr-dialogs").versionRef("openrndr")
|
||||
library("openrndr-ffmpeg", "org.openrndr", "openrndr-ffmpeg").versionRef("openrndr")
|
||||
library("openrndr-ffmpeg-natives", "org.openrndr", "openrndr-ffmpeg-$openrndrClassifier").versionRef("openrndr")
|
||||
library("openrndr-svg", "org.openrndr", "openrndr-svg").versionRef("openrndr")
|
||||
library("openrndr-gl3-core", "org.openrndr", "openrndr-gl3").versionRef("openrndr")
|
||||
library("openrndr-gl3-natives", "org.openrndr", "openrndr-gl3-$openrndrClassifier").versionRef("openrndr")
|
||||
|
||||
library("tensorflow", "org.tensorflow", "tensorflow-core-api").versionRef("tensorflow")
|
||||
library("boofcv", "org.boofcv", "boofcv-core").versionRef("boofcv")
|
||||
library("libfreenect", "org.bytedeco", "libfreenect").versionRef("libfreenect")
|
||||
library("librealsense", "org.bytedeco", "librealsense2").versionRef("librealsense")
|
||||
|
||||
library("kotlin-logging", "io.github.microutils", "kotlin-logging").versionRef("kotlinLogging")
|
||||
library("kotlin-coroutines", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").versionRef("kotlinxCoroutines")
|
||||
library("kotlin-serialization-json", "org.jetbrains.kotlinx", "kotlinx-serialization-json").versionRef("kotlinxSerialization")
|
||||
library("kotlin-serialization-core", "org.jetbrains.kotlinx", "kotlinx-serialization-core").versionRef("kotlinxSerialization")
|
||||
library("kotlin-stdlib", "org.jetbrains.kotlin", "kotlin-stdlib").versionRef("kotlin")
|
||||
library("kotlin-test", "org.jetbrains.kotlin", "kotlin-test").versionRef("kotlin")
|
||||
library("kotlin-reflect", "org.jetbrains.kotlin", "kotlin-reflect").versionRef("kotlin")
|
||||
library("kotlin-gradlePlugin", "org.jetbrains.kotlin", "kotlin-gradle-plugin").versionRef("kotlin")
|
||||
library("kotlin-scriptingJvm", "org.jetbrains.kotlin", "kotlin-scripting-jvm").versionRef("kotlin")
|
||||
library("kotlin-scriptingJvmHost", "org.jetbrains.kotlin", "kotlin-scripting-jvm-host").versionRef("kotlin")
|
||||
library("kotlin-scriptingJSR223", "org.jetbrains.kotlin", "kotlin-scripting-jsr223").versionRef("kotlin")
|
||||
|
||||
library("spek-dsl", "org.spekframework.spek2", "spek-dsl-jvm").versionRef("spek")
|
||||
library("spek-junit5", "org.spekframework.spek2", "spek-runner-junit5").versionRef("spek")
|
||||
|
||||
library("jupiter-api", "org.junit.jupiter", "junit-jupiter-api").versionRef("junitJupiter")
|
||||
library("jupiter-engine", "org.junit.jupiter", "junit-jupiter-engine").versionRef("junitJupiter")
|
||||
|
||||
bundle("jupiter", listOf("jupiter-api", "jupiter-engine"))
|
||||
|
||||
library("kotest", "io.kotest", "kotest-assertions-core").versionRef("kotest")
|
||||
library("kluent", "org.amshove.kluent", "kluent").versionRef("kluent")
|
||||
library("slf4j-simple", "org.slf4j", "slf4j-simple").versionRef("slf4j")
|
||||
library("gson", "com.google.code.gson", "gson").versionRef("gson")
|
||||
library("antlr", "org.antlr", "antlr4").versionRef("antlr")
|
||||
library("antlrRuntime", "org.antlr", "antlr4-runtime").versionRef("antlr")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include(
|
||||
listOf(
|
||||
"openrndr-demos",
|
||||
"orx-jvm:orx-boofcv",
|
||||
"orx-camera",
|
||||
"orx-jvm:orx-chataigne",
|
||||
"orx-color",
|
||||
"orx-compositor",
|
||||
"orx-compute-graph",
|
||||
"orx-compute-graph-nodes",
|
||||
"orx-jvm:orx-dnk3",
|
||||
"orx-easing",
|
||||
"orx-jvm:orx-file-watcher",
|
||||
"orx-parameters",
|
||||
"orx-filter-extension",
|
||||
"orx-fx",
|
||||
"orx-jvm:orx-git-archiver",
|
||||
"orx-jvm:orx-git-archiver-gradle",
|
||||
"orx-glslify",
|
||||
"orx-gradient-descent",
|
||||
"orx-hash-grid",
|
||||
"orx-integral-image",
|
||||
"orx-interval-tree",
|
||||
"orx-jumpflood",
|
||||
"orx-jvm:orx-gui",
|
||||
"orx-image-fit",
|
||||
"orx-kdtree",
|
||||
"orx-jvm:orx-keyframer",
|
||||
"orx-mesh-generators",
|
||||
"orx-jvm:orx-minim",
|
||||
"orx-jvm:orx-kotlin-parser",
|
||||
"orx-jvm:orx-midi",
|
||||
"orx-no-clear",
|
||||
"orx-noise",
|
||||
"orx-obj-loader",
|
||||
"orx-jvm:orx-olive",
|
||||
"orx-jvm:orx-osc",
|
||||
"orx-palette",
|
||||
"orx-jvm:orx-panel",
|
||||
"orx-jvm:orx-poisson-fill",
|
||||
"orx-quadtree",
|
||||
"orx-jvm:orx-rabbit-control",
|
||||
"orx-jvm:orx-realsense2",
|
||||
"orx-jvm:orx-realsense2-natives-linux-x64",
|
||||
"orx-jvm:orx-realsense2-natives-macos",
|
||||
"orx-jvm:orx-realsense2-natives-windows",
|
||||
"orx-jvm:orx-runway",
|
||||
"orx-shader-phrases",
|
||||
"orx-shade-styles",
|
||||
"orx-shapes",
|
||||
"orx-jvm:orx-syphon",
|
||||
"orx-temporal-blur",
|
||||
"orx-jvm:orx-tensorflow",
|
||||
"orx-jvm:orx-tensorflow-gpu-natives-linux-x64",
|
||||
"orx-jvm:orx-tensorflow-gpu-natives-windows",
|
||||
"orx-jvm:orx-tensorflow-natives-linux-x64",
|
||||
"orx-jvm:orx-tensorflow-natives-macos",
|
||||
"orx-jvm:orx-tensorflow-natives-windows",
|
||||
"orx-timer",
|
||||
"orx-time-operators",
|
||||
"orx-jvm:orx-triangulation",
|
||||
"orx-jvm:orx-kinect-common",
|
||||
"orx-jvm:orx-kinect-v1",
|
||||
"orx-jvm:orx-kinect-v1-natives-linux-arm64",
|
||||
"orx-jvm:orx-kinect-v1-natives-linux-x64",
|
||||
"orx-jvm:orx-kinect-v1-natives-macos",
|
||||
"orx-jvm:orx-kinect-v1-natives-windows",
|
||||
"orx-jvm:orx-kinect-v1-demo",
|
||||
"orx-jvm:orx-video-profiles"
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user