Browse Source

Remove hardcoded mavenLocal() logic

master
vechro 2 years ago
committed by Edwin Jakobs
parent
commit
89767de35a
  1. 7
      build.gradle.kts

7
build.gradle.kts

@ -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"))

Loading…
Cancel
Save