Compare commits
2 Commits
openrndr-t
...
openrndr-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e52f074f2 | ||
|
|
7d6ac87a34 |
@@ -1,20 +1,20 @@
|
||||
import org.gradle.internal.os.OperatingSystem
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
val kotlinVersion = "1.3.41"
|
||||
val kotlinVersion = "1.3.50"
|
||||
|
||||
plugins {
|
||||
java
|
||||
kotlin("jvm") version("1.3.41")
|
||||
kotlin("jvm") version("1.3.50")
|
||||
}
|
||||
group = "org.openrndr.template"
|
||||
version = "0.3.1"
|
||||
version = "0.3.3"
|
||||
|
||||
val applicationMainClass = "TemplateProgramKt"
|
||||
val applicationFullLogging = false
|
||||
|
||||
val openrndrUseSnapshot = false
|
||||
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.35-rc1"
|
||||
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.35"
|
||||
val openrndrOs = when (OperatingSystem.current()) {
|
||||
OperatingSystem.WINDOWS -> "windows"
|
||||
OperatingSystem.MAC_OS -> "macos"
|
||||
@@ -29,9 +29,9 @@ val panelUseSnapshot = false
|
||||
val panelVersion = if (panelUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.17-m3"
|
||||
|
||||
val orxUseSnapshot = false
|
||||
val orxVersion = if (orxUseSnapshot) "0.1.0-SNAPSHOT" else "0.0.31"
|
||||
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.32"
|
||||
|
||||
// supported features are: orx-camera, orx-compositor,orx-easing, orx-filter-extension,orx-file-watcher,
|
||||
// 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-noise, orx-obj, orx-olive
|
||||
|
||||
@@ -57,6 +57,10 @@ fun DependencyHandler.openrndrNatives(module: String): Any {
|
||||
return "org.openrndr:openrndr-$module-natives-$openrndrOs:$openrndrVersion"
|
||||
}
|
||||
|
||||
fun DependencyHandler.orxNatives(module: String): Any {
|
||||
return "org.openrndr.extra:$module-natives-$openrndrOs:$orxVersion"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
runtime(openrndr("gl3"))
|
||||
runtime(openrndrNatives("gl3"))
|
||||
@@ -95,6 +99,10 @@ dependencies {
|
||||
compile("org.jetbrains.kotlin", "kotlin-scripting-compiler-embeddable")
|
||||
}
|
||||
|
||||
if ("orx-kinect-v1" in orxFeatures) {
|
||||
runtime(orxNatives("orx-kinect-v1"))
|
||||
}
|
||||
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
testCompile("junit", "junit", "4.12")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user