Compare commits

..

2 Commits

Author SHA1 Message Date
Edwin Jakobs
52649f84db Bumped orx to 0.3.34 2019-09-06 16:30:41 +02:00
edwin
2e52f074f2 Added natives for orx-kinect-v1 2019-08-28 12:58:20 +02:00

View File

@@ -8,7 +8,7 @@ plugins {
kotlin("jvm") version("1.3.50") kotlin("jvm") version("1.3.50")
} }
group = "org.openrndr.template" group = "org.openrndr.template"
version = "0.3.2" version = "0.3.4"
val applicationMainClass = "TemplateProgramKt" val applicationMainClass = "TemplateProgramKt"
val applicationFullLogging = false val applicationFullLogging = false
@@ -29,7 +29,7 @@ val panelUseSnapshot = false
val panelVersion = if (panelUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.17-m3" val panelVersion = if (panelUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.17-m3"
val orxUseSnapshot = false val orxUseSnapshot = false
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.32" val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.34"
// supported features are: orx-camera, orx-compositor,orx-easing, orx-filter-extension,orx-file-watcher, orx-kinect-v1 // supported features are: orx-camera, orx-compositor,orx-easing, orx-filter-extension,orx-file-watcher, orx-kinect-v1
// orx-integral-image, orx-interval-tree, orx-jumpflood,orx-kdtree, orx-mesh-generators,orx-midi, orx-no-clear, // orx-integral-image, orx-interval-tree, orx-jumpflood,orx-kdtree, orx-mesh-generators,orx-midi, orx-no-clear,
@@ -57,6 +57,10 @@ fun DependencyHandler.openrndrNatives(module: String): Any {
return "org.openrndr:openrndr-$module-natives-$openrndrOs:$openrndrVersion" return "org.openrndr:openrndr-$module-natives-$openrndrOs:$openrndrVersion"
} }
fun DependencyHandler.orxNatives(module: String): Any {
return "org.openrndr.extra:$module-natives-$openrndrOs:$orxVersion"
}
dependencies { dependencies {
runtime(openrndr("gl3")) runtime(openrndr("gl3"))
runtime(openrndrNatives("gl3")) runtime(openrndrNatives("gl3"))
@@ -95,6 +99,10 @@ dependencies {
compile("org.jetbrains.kotlin", "kotlin-scripting-compiler-embeddable") compile("org.jetbrains.kotlin", "kotlin-scripting-compiler-embeddable")
} }
if ("orx-kinect-v1" in orxFeatures) {
runtime(orxNatives("orx-kinect-v1"))
}
implementation(kotlin("stdlib-jdk8")) implementation(kotlin("stdlib-jdk8"))
testCompile("junit", "junit", "4.12") testCompile("junit", "junit", "4.12")
} }