107 lines
3.0 KiB
Plaintext
107 lines
3.0 KiB
Plaintext
import org.gradle.internal.os.OperatingSystem
|
|
|
|
rootProject.name = "orx"
|
|
|
|
|
|
includeBuild("build-logic")
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal {
|
|
content {
|
|
includeGroup("org.openrndr")
|
|
}
|
|
}
|
|
}
|
|
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-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"
|
|
)
|
|
) |