|
@ -36,11 +36,12 @@ val orxFeatures = setOf( |
|
|
// "orx-poisson-fill", |
|
|
// "orx-poisson-fill", |
|
|
// "orx-runway", |
|
|
// "orx-runway", |
|
|
// "orx-shader-phrases", |
|
|
// "orx-shader-phrases", |
|
|
"orx-shade-styles" |
|
|
"orx-shade-styles", |
|
|
// "orx-shapes", |
|
|
// "orx-shapes", |
|
|
// "orx-syphon", |
|
|
// "orx-syphon", |
|
|
// "orx-temporal-blur", |
|
|
// "orx-temporal-blur", |
|
|
// "orx-kinect-v1" |
|
|
// "orx-kinect-v1", |
|
|
|
|
|
"orx-panel" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
/* Which OPENRNDR libraries should be added to this project? */ |
|
|
/* Which OPENRNDR libraries should be added to this project? */ |
|
@ -51,13 +52,10 @@ val openrndrFeatures = setOf( |
|
|
|
|
|
|
|
|
/* Which version of OPENRNDR, ORX and Panel should be used? */ |
|
|
/* Which version of OPENRNDR, ORX and Panel should be used? */ |
|
|
val openrndrUseSnapshot = false |
|
|
val openrndrUseSnapshot = false |
|
|
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.39" |
|
|
val openrndrVersion = if (openrndrUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.40" |
|
|
|
|
|
|
|
|
val panelUseSnapshot = false |
|
|
|
|
|
val panelVersion = if (panelUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.21" |
|
|
|
|
|
|
|
|
|
|
|
val orxUseSnapshot = false |
|
|
val orxUseSnapshot = false |
|
|
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.49" |
|
|
val orxVersion = if (orxUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.50" |
|
|
|
|
|
|
|
|
//<editor-fold desc="This is code for OPENRNDR, no need to edit this .. most of the times"> |
|
|
//<editor-fold desc="This is code for OPENRNDR, no need to edit this .. most of the times"> |
|
|
val supportedPlatforms = setOf("windows", "macos", "linux-x64", "linux-arm64") |
|
|
val supportedPlatforms = setOf("windows", "macos", "linux-x64", "linux-arm64") |
|
@ -88,18 +86,18 @@ enum class Logging { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* What type of logging should this project use? */ |
|
|
/* What type of logging should this project use? */ |
|
|
val applicationLogging = Logging.SIMPLE |
|
|
val applicationLogging = Logging.FULL |
|
|
|
|
|
|
|
|
val kotlinVersion = "1.3.61" |
|
|
val kotlinVersion = "1.3.71" |
|
|
|
|
|
|
|
|
plugins { |
|
|
plugins { |
|
|
java |
|
|
java |
|
|
kotlin("jvm") version("1.3.61") |
|
|
kotlin("jvm") version("1.3.71") |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
repositories { |
|
|
repositories { |
|
|
mavenCentral() |
|
|
mavenCentral() |
|
|
if (openrndrUseSnapshot || orxUseSnapshot || panelUseSnapshot) { |
|
|
if (openrndrUseSnapshot || orxUseSnapshot) { |
|
|
mavenLocal() |
|
|
mavenLocal() |
|
|
} |
|
|
} |
|
|
maven(url = "https://dl.bintray.com/openrndr/openrndr") |
|
|
maven(url = "https://dl.bintray.com/openrndr/openrndr") |
|
@ -139,20 +137,20 @@ dependencies { |
|
|
implementation(openrndr("extensions")) |
|
|
implementation(openrndr("extensions")) |
|
|
implementation(openrndr("filter")) |
|
|
implementation(openrndr("filter")) |
|
|
|
|
|
|
|
|
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.3.3") |
|
|
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core","1.3.5") |
|
|
implementation("io.github.microutils", "kotlin-logging","1.7.8") |
|
|
implementation("io.github.microutils", "kotlin-logging","1.7.9") |
|
|
|
|
|
|
|
|
when(applicationLogging) { |
|
|
when(applicationLogging) { |
|
|
Logging.NONE -> { |
|
|
Logging.NONE -> { |
|
|
runtimeOnly("org.slf4j","slf4j-nop","1.7.29") |
|
|
runtimeOnly("org.slf4j","slf4j-nop","1.7.30") |
|
|
} |
|
|
} |
|
|
Logging.SIMPLE -> { |
|
|
Logging.SIMPLE -> { |
|
|
runtimeOnly("org.slf4j","slf4j-simple","1.7.29") |
|
|
runtimeOnly("org.slf4j","slf4j-simple","1.7.30") |
|
|
} |
|
|
} |
|
|
Logging.FULL -> { |
|
|
Logging.FULL -> { |
|
|
runtimeOnly("org.apache.logging.log4j", "log4j-slf4j-impl", "2.13.0") |
|
|
runtimeOnly("org.apache.logging.log4j", "log4j-slf4j-impl", "2.13.1") |
|
|
runtimeOnly("com.fasterxml.jackson.core", "jackson-databind", "2.10.1") |
|
|
runtimeOnly("com.fasterxml.jackson.core", "jackson-databind", "2.10.3") |
|
|
runtimeOnly("com.fasterxml.jackson.dataformat", "jackson-dataformat-yaml", "2.10.1") |
|
|
runtimeOnly("com.fasterxml.jackson.dataformat", "jackson-dataformat-yaml", "2.10.3") |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -161,10 +159,6 @@ dependencies { |
|
|
runtimeOnly(openrndrNatives("ffmpeg")) |
|
|
runtimeOnly(openrndrNatives("ffmpeg")) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ("panel" in openrndrFeatures) { |
|
|
|
|
|
implementation("org.openrndr.panel:openrndr-panel:$panelVersion") |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for (feature in orxFeatures) { |
|
|
for (feature in orxFeatures) { |
|
|
implementation(orx(feature)) |
|
|
implementation(orx(feature)) |
|
|
} |
|
|
} |
|
@ -192,6 +186,7 @@ tasks.withType<KotlinCompile> { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
tasks.withType<Jar> { |
|
|
tasks.withType<Jar> { |
|
|
|
|
|
isZip64 = true |
|
|
manifest { |
|
|
manifest { |
|
|
attributes["Main-Class"] = applicationMainClass |
|
|
attributes["Main-Class"] = applicationMainClass |
|
|
} |
|
|
} |
|
|