|
@ -5,7 +5,7 @@ import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform |
|
|
|
|
|
|
|
|
/* the name of this project, default is the template version but you are free to change these */ |
|
|
/* the name of this project, default is the template version but you are free to change these */ |
|
|
group = "org.openrndr.template" |
|
|
group = "org.openrndr.template" |
|
|
version = "0.3.18" |
|
|
version = "0.4.0" |
|
|
|
|
|
|
|
|
val applicationMainClass = "TemplateProgramKt" |
|
|
val applicationMainClass = "TemplateProgramKt" |
|
|
|
|
|
|
|
@ -78,14 +78,14 @@ val openrndrFeatures = setOf( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
/* Which version of OPENRNDR and ORX should be used? */ |
|
|
/* Which version of OPENRNDR and ORX should be used? */ |
|
|
val openrndrUseSnapshot = false |
|
|
val openrndrUseSnapshot = true |
|
|
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.58" |
|
|
val openrndrVersion = if (openrndrUseSnapshot) "0.5.1-SNAPSHOT" else "0.4.0" |
|
|
|
|
|
|
|
|
val orxUseSnapshot = false |
|
|
val orxUseSnapshot = true |
|
|
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.58" |
|
|
val orxVersion = if (orxUseSnapshot) "0.5.1-SNAPSHOT" else "0.4.0" |
|
|
|
|
|
|
|
|
val ormlUseSnapshot = false |
|
|
val ormlUseSnapshot = true |
|
|
val ormlVersion = if (ormlUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.0-rc.5" |
|
|
val ormlVersion = if (ormlUseSnapshot) "0.5.1-SNAPSHOT" else "0.4.0" |
|
|
|
|
|
|
|
|
// choices are "orx-tensorflow-gpu", "orx-tensorflow-mkl", "orx-tensorflow" |
|
|
// choices are "orx-tensorflow-gpu", "orx-tensorflow-mkl", "orx-tensorflow" |
|
|
val orxTensorflowBackend = "orx-tensorflow-mkl" |
|
|
val orxTensorflowBackend = "orx-tensorflow-mkl" |
|
@ -121,11 +121,11 @@ enum class Logging { |
|
|
/* What type of logging should this project use? */ |
|
|
/* What type of logging should this project use? */ |
|
|
val applicationLogging = Logging.FULL |
|
|
val applicationLogging = Logging.FULL |
|
|
|
|
|
|
|
|
val kotlinVersion = "1.5.0" |
|
|
val kotlinVersion = "1.5.21" |
|
|
|
|
|
|
|
|
plugins { |
|
|
plugins { |
|
|
java |
|
|
java |
|
|
kotlin("jvm") version("1.5.0") |
|
|
kotlin("jvm") version("1.5.21") |
|
|
id("com.github.johnrengelman.shadow") version ("6.1.0") |
|
|
id("com.github.johnrengelman.shadow") version ("6.1.0") |
|
|
id("org.beryx.runtime") version ("1.11.4") |
|
|
id("org.beryx.runtime") version ("1.11.4") |
|
|
} |
|
|
} |
|
@ -168,13 +168,12 @@ dependencies { |
|
|
runtimeOnly(openrndrNatives("gl3")) |
|
|
runtimeOnly(openrndrNatives("gl3")) |
|
|
implementation(openrndr("openal")) |
|
|
implementation(openrndr("openal")) |
|
|
runtimeOnly(openrndrNatives("openal")) |
|
|
runtimeOnly(openrndrNatives("openal")) |
|
|
implementation(openrndr("core")) |
|
|
implementation(openrndr("application")) |
|
|
implementation(openrndr("svg")) |
|
|
implementation(openrndr("svg")) |
|
|
implementation(openrndr("animatable")) |
|
|
implementation(openrndr("animatable")) |
|
|
implementation(openrndr("extensions")) |
|
|
implementation(openrndr("extensions")) |
|
|
implementation(openrndr("filter")) |
|
|
implementation(openrndr("filter")) |
|
|
|
|
|
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.5.0") |
|
|
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.5.0-RC") |
|
|
|
|
|
implementation("io.github.microutils", "kotlin-logging-jvm","2.0.6") |
|
|
implementation("io.github.microutils", "kotlin-logging-jvm","2.0.6") |
|
|
|
|
|
|
|
|
when(applicationLogging) { |
|
|
when(applicationLogging) { |
|
|