android 去除 orx 相关依赖
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import org.gradle.internal.os.OperatingSystem
|
||||
|
||||
rootProject.name = "orx"
|
||||
|
||||
|
||||
@@ -36,7 +34,7 @@ dependencyResolutionManagement {
|
||||
versionCatalogs {
|
||||
// We use a regex to get the openrndr version from the primary catalog as there is no public Gradle API to parse catalogs.
|
||||
val regEx = Regex("^openrndr[ ]*=[ ]*(?:\\{[ ]*require[ ]*=[ ]*)?\"(.*)\"[ ]*(?:\\})?", RegexOption.MULTILINE)
|
||||
val openrndrVersion = regEx.find(File(rootDir,"gradle/libs.versions.toml").readText())?.groupValues?.get(1) ?: error("can't find openrndr version")
|
||||
val openrndrVersion = regEx.find(File(rootDir, "gradle/libs.versions.toml").readText())?.groupValues?.get(1) ?: error("can't find openrndr version")
|
||||
create("sharedLibs") {
|
||||
from("org.openrndr:openrndr-dependency-catalog:$openrndrVersion")
|
||||
}
|
||||
@@ -130,4 +128,5 @@ include(":android")
|
||||
include(":math")
|
||||
include(":desktop")
|
||||
include(":icegps-common")
|
||||
include(":icegps-shared")
|
||||
include(":icegps-shared")
|
||||
include(":icegps-triangulation")
|
||||
Reference in New Issue
Block a user