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