Remove hardcoded mavenLocal() logic
This commit is contained in:
@@ -94,6 +94,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -254,12 +255,6 @@ class Openrndr {
|
|||||||
fun orxNatives(module: String) = "org.openrndr.extra:$module-natives-$os:$orxVersion"
|
fun orxNatives(module: String) = "org.openrndr.extra:$module-natives-$os:$orxVersion"
|
||||||
|
|
||||||
init {
|
init {
|
||||||
repositories {
|
|
||||||
if (listOf(openrndrVersion, orxVersion, ormlVersion).any { "SNAPSHOT" in it }) {
|
|
||||||
mavenLocal()
|
|
||||||
}
|
|
||||||
maven(url = "https://maven.openrndr.org")
|
|
||||||
}
|
|
||||||
dependencies {
|
dependencies {
|
||||||
runtimeOnly(openrndr("gl3"))
|
runtimeOnly(openrndr("gl3"))
|
||||||
runtimeOnly(openrndrNatives("gl3"))
|
runtimeOnly(openrndrNatives("gl3"))
|
||||||
|
|||||||
Reference in New Issue
Block a user