android 去除 orx 相关依赖

This commit is contained in:
2025-11-26 17:00:11 +08:00
parent 2525d30c80
commit 0c90073363
25 changed files with 3653 additions and 895 deletions

View File

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