Use rich version range for openrndr (#293)

This commit is contained in:
Vechro
2023-03-04 14:58:45 +02:00
committed by GitHub
parent 8af6b764e0
commit 4d0a41ab0b
11 changed files with 40 additions and 56 deletions

View File

@@ -9,16 +9,6 @@ repositories {
mavenLocal()
}
val openrndrVersion: String =
(extra.properties["OPENRNDR.version"] as String? ?: System.getenv("OPENRNDR_VERSION"))?.removePrefix("v")
?: "0.5.1-SNAPSHOT"
configurations.all {
resolutionStrategy.eachDependency {
if (requested.group == "org.openrndr") useVersion(openrndrVersion)
}
}
dependencies {
implementation(libs.kotlin.gradle.plugin)
implementation(libs.dokka.gradle.plugin)