aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorEdwin Jakobs <edwin@rndr.studio>2019-08-07 10:20:55 +0200
committerEdwin Jakobs <edwin@rndr.studio>2019-08-07 10:20:55 +0200
commit0b4be71bba4f1858140ba974e0a8aa4b9d368e51 (patch)
tree91c76e0792df0ee1b62498f8352d56956409d542 /build.gradle.kts
parenta41b530d32c579c27d59857fee900bf9dd8bff9b (diff)
downloadart-playground-openrndr-0b4be71bba4f1858140ba974e0a8aa4b9d368e51.tar.gz
art-playground-openrndr-0b4be71bba4f1858140ba974e0a8aa4b9d368e51.zip
Remove jitpack repositories and dependencies, Panel and ORX from bintray
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts17
1 files changed, 6 insertions, 11 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index a86dced..0dc07d2 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ plugins {
kotlin("jvm") version("1.3.41")
}
group = "org.openrndr.template"
-version = "1.0-SNAPSHOT"
+version = "0.3.1"
val applicationMainClass = "TemplateProgramKt"
val applicationFullLogging = false
@@ -23,13 +23,13 @@ val openrndrOs = when (OperatingSystem.current()) {
}
// supported features are: video, panel
-val openrndrFeatures = setOf("video")
+val openrndrFeatures = setOf("video", "panel")
val panelUseSnapshot = false
-val panelVersion = "0.3.16"
+val panelVersion = if (panelUseSnapshot) "0.4.0-SNAPSHOT" else "0.3.17-m3"
val orxUseSnapshot = false
-val orxVersion = "0.0.30"
+val orxVersion = if (orxUseSnapshot) "0.1.0-SNAPSHOT" else "0.0.31"
// supported features are: orx-camera, orx-compositor,orx-easing, orx-filter-extension,orx-file-watcher,
// orx-integral-image, orx-interval-tree, orx-jumpflood,orx-kdtree, orx-mesh-generators,orx-midi, orx-no-clear,
@@ -43,15 +43,10 @@ repositories {
mavenLocal()
}
maven(url = "https://dl.bintray.com/openrndr/openrndr")
- maven(url = "https://jitpack.io")
}
fun DependencyHandler.orx(module: String): Any {
- return if (!orxUseSnapshot) {
- "com.github.openrndr.orx:$module:v$orxVersion"
- } else {
- "org.openrndr.extra:$module:$orxVersion"
- }
+ return "org.openrndr.extra:$module:$orxVersion"
}
fun DependencyHandler.openrndr(module: String): Any {
@@ -89,7 +84,7 @@ dependencies {
}
if ("panel" in openrndrFeatures) {
- compile("com.github.openrndr:openrndr-panel:v$panelVersion")
+ compile("org.openrndr.panel:openrndr-panel:$panelVersion")
}
for (feature in orxFeatures) {