mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Currently the major DataLog backend API (reading and writing) is split between wpiutil and glass. In the interest of allowing code that wants to use these APIs to not need to link to glass and declutter wpiutil, all of those APIs are moved to a new library named "datalog". Signed-off-by: Jade Turner <spacey-sooty@proton.me> Co-authored-by: Jade Turner <spacey-sooty@proton.me> Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com>
88 lines
2.2 KiB
Groovy
88 lines
2.2 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
url = 'https://frcmaven.wpi.edu/artifactory/ex-gradle'
|
|
}
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "com.gradle.enterprise" version "3.15.1"
|
|
}
|
|
|
|
// Set the flag to tell gradle to ignore unresolved headers
|
|
// Libraries like eigen and opencv use macro includes, which
|
|
// Gradle doesn't properly ignore, and completely disables
|
|
// Incremental includes. This flag makes those includes be ignored.
|
|
Properties props = System.getProperties();
|
|
props.setProperty("org.gradle.internal.native.headers.unresolved.dependencies.ignore", "true");
|
|
|
|
include 'wpiutil'
|
|
include 'wpinet'
|
|
include 'ntcore'
|
|
include 'hal'
|
|
include 'cscore'
|
|
include 'wpigui'
|
|
include 'wpimath'
|
|
include 'wpilibc'
|
|
include 'wpilibcExamples'
|
|
include 'wpilibjExamples'
|
|
include 'wpilibj'
|
|
include 'wpiunits'
|
|
include 'fieldImages'
|
|
include 'glass'
|
|
include 'outlineviewer'
|
|
include 'datalogtool'
|
|
include 'sysid'
|
|
include 'simulation:halsim_ds_socket'
|
|
include 'simulation:halsim_gui'
|
|
include 'simulation:halsim_ws_core'
|
|
include 'simulation:halsim_ws_client'
|
|
include 'simulation:halsim_ws_server'
|
|
include 'simulation:halsim_xrp'
|
|
include 'cameraserver'
|
|
include 'cameraserver:multiCameraServer'
|
|
include 'wpilibNewCommands'
|
|
include 'romiVendordep'
|
|
include 'xrpVendordep'
|
|
include 'developerRobot'
|
|
include 'docs'
|
|
include 'msvcruntime'
|
|
include 'ntcoreffi'
|
|
include 'apriltag'
|
|
include 'processstarter'
|
|
include 'epilogue-processor'
|
|
include 'epilogue-runtime'
|
|
include 'thirdparty:googletest'
|
|
include 'thirdparty:imgui_suite'
|
|
include 'wpical'
|
|
include 'datalog'
|
|
|
|
buildCache {
|
|
def cred = {
|
|
if (System.env[it] != null) {
|
|
return System.env[it]
|
|
} else {
|
|
return System.getProperty(it)
|
|
}
|
|
}
|
|
local {
|
|
enabled = !System.getenv().containsKey("CI")
|
|
}
|
|
remote(HttpBuildCache) {
|
|
url = "https://frcmaven.wpi.edu/artifactory/wpilib-generic-gradlecache/"
|
|
String user = cred('ARTIFACTORY_PUBLISH_USERNAME')
|
|
String pass = cred('ARTIFACTORY_PUBLISH_PASSWORD')
|
|
if (user && pass) {
|
|
push = true
|
|
credentials {
|
|
username = user
|
|
password = pass
|
|
}
|
|
}
|
|
}
|
|
}
|