Files
orx/settings.gradle.kts

132 lines
3.6 KiB
Plaintext

rootProject.name = "orx"
includeBuild("build-logic")
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
mavenLocal {
content {
includeGroup("org.openrndr")
}
}
// Mapbox Maven repository
maven {
url = uri("https://api.mapbox.com/downloads/v2/releases/maven")
}
}
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")
create("sharedLibs") {
from("org.openrndr:openrndr-dependency-catalog:$openrndrVersion")
}
create("openrndr") {
from("org.openrndr:openrndr-module-catalog:$openrndrVersion")
}
}
}
include(
listOf(
"openrndr-demos",
"orx-jvm:orx-axidraw",
"orx-jvm:orx-boofcv",
"orx-camera",
"orx-jvm:orx-chataigne",
"orx-color",
"orx-composition",
"orx-compositor",
"orx-jvm:orx-crash-handler",
"orx-delegate-magic",
"orx-jvm:orx-dnk3",
"orx-easing",
"orx-envelopes",
"orx-expression-evaluator",
"orx-expression-evaluator-typed",
"orx-fcurve",
"orx-fft",
"orx-jvm:orx-file-watcher",
"orx-parameters",
"orx-fx",
"orx-jvm:orx-git-archiver",
"orx-jvm:orx-git-archiver-gradle",
"orx-gradient-descent",
"orx-hash-grid",
"orx-integral-image",
"orx-interval-tree",
"orx-jumpflood",
"orx-jvm:orx-gui",
"orx-image-fit",
"orx-kdtree",
"orx-jvm:orx-keyframer",
"orx-math",
"orx-mesh",
"orx-mesh-generators",
"orx-mesh-noise",
"orx-jvm:orx-minim",
"orx-jvm:orx-kotlin-parser",
"orx-jvm:orx-midi",
"orx-no-clear",
"orx-noise",
"orx-obj-loader",
"orx-marching-squares",
"orx-jvm:orx-olive",
"orx-jvm:orx-osc",
"orx-palette",
"orx-property-watchers",
"orx-jvm:orx-panel",
"orx-jvm:orx-poisson-fill",
"orx-jvm:orx-processing",
"orx-quadtree",
"orx-jvm:orx-rabbit-control",
"orx-jvm:orx-realsense2",
"orx-shader-phrases",
"orx-shade-styles",
"orx-shapes",
"orx-svg",
"orx-jvm:orx-syphon",
"orx-temporal-blur",
"orx-timer",
"orx-time-operators",
"orx-triangulation",
"orx-jvm:orx-kinect-common",
"orx-jvm:orx-kinect-v1",
"orx-jvm:orx-kinect-v1-demo",
"orx-jvm:orx-video-profiles",
"orx-depth-camera",
"orx-jvm:orx-depth-camera-calibrator",
"orx-view-box",
"orx-text-on-contour",
"orx-text-writer",
"orx-turtle",
"orx-module-catalog"
)
)
include(":android")
include(":math")
include(":desktop")
include(":icegps-common")
include(":icegps-shared")
include(":icegps-triangulation")