mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This lets us remove the unmaintained StackWalker library and its hacky upstream_utils script. @Gold856 reported that StackWalker gives blank stacktraces: https://discord.com/channels/176186766946992128/368993897495527424/1261940029287301150. They also reported an earlier version of this PR giving the following stacktrace instead: ``` D:\allwpilib\developerRobot\src\main\native\cpp\Robot.cpp(18): developerRobotCpp!Robot::RobotInit+0xB6 D:\allwpilib\wpilibc\src\main\native\cpp\TimedRobot.cpp(22): wpilibcd!frc::TimedRobot::StartCompetition+0x4F D:\allwpilib\wpilibc\src\main\native\include\frc\RobotBase.h(36): developerRobotCpp!frc::impl::RunRobot<Robot>+0xC8 D:\allwpilib\wpilibc\src\main\native\include\frc\RobotBase.h(106): developerRobotCpp!frc::StartRobot<Robot>+0x17E D:\allwpilib\developerRobot\src\main\native\cpp\Robot.cpp(60): developerRobotCpp!main+0xB D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(79): developerRobotCpp!invoke_main+0x39 D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288): developerRobotCpp!__scrt_common_main_seh+0x132 D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(331): developerRobotCpp!__scrt_common_main+0xE D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp(17): developerRobotCpp!mainCRTStartup+0xE KERNEL32!BaseThreadInitThunk+0x1D ntdll!RtlUserThreadStart+0x28 ```
52 lines
2.7 KiB
TOML
52 lines
2.7 KiB
TOML
[versions]
|
|
avaje = "3.11"
|
|
ejml = "0.44.0"
|
|
jmh = "1.37"
|
|
opencv = "4.10.0-3"
|
|
thirdparty-year = "frc2025" # Note: this also appears in the opencv module name in the libraries section
|
|
quickbuf = "1.4"
|
|
|
|
[libraries]
|
|
# General runtime dependencies
|
|
avaje-jsonb = { module = "io.avaje:avaje-jsonb", version.ref = "avaje" }
|
|
avaje-jsonb-generator = { module = "io.avaje:avaje-jsonb-generator", version.ref = "avaje" }
|
|
ejml-simple = { module = "org.ejml:ejml-simple", version.ref = "ejml" } # also pulls in other EJML modules as transitive dependencies
|
|
gson = { module = "com.google.code.gson:gson", version = "2.13.1" }
|
|
quickbuf-runtime = { module = "us.hebi.quickbuf:quickbuf-runtime", version.ref = "quickbuf" }
|
|
thirdparty-opencv = { module = "edu.wpi.first.thirdparty.frc2025.opencv:opencv-java", version.ref = "opencv" }
|
|
|
|
# General test dependencies
|
|
compile-testing = { module = "com.google.testing.compile:compile-testing", version = "0.23.0" }
|
|
jmh-annotationprocessor = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "jmh" }
|
|
jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "jmh" }
|
|
junit-api = { module = "org.junit.jupiter:junit-jupiter", version = "5.13.4" }
|
|
junit-launcher = { module = "org.junit.platform:junit-platform-launcher", version = "1.10.1" }
|
|
mockito-core = { module = "org.mockito:mockito-core", version = "4.1.0" }
|
|
|
|
# buildsrc dependencies
|
|
# Note that these are also Gradle plugins and cannot be used with the plugin specification
|
|
# due to their presence on the classpath without version information.
|
|
wpilib-gradle-vscode = { module = "org.wpilib:gradle-cpp-vscode", version = "2027.0.0" }
|
|
wpilib-native-utils = { module = "org.wpilib:native-utils", version = "2027.6.1" }
|
|
|
|
[bundles]
|
|
ejml = ["ejml-simple"]
|
|
mockito = ["mockito-core"]
|
|
# junit api and launcher artifacts are different dependency types (implementation and runtime, respectively),
|
|
# so it doesn't make sense to bundle them in a single "junit" bundle
|
|
# Similar logic applies for JMH
|
|
|
|
[plugins]
|
|
build-shadow = { id = "com.gradleup.shadow", version = "9.4.1" }
|
|
lint-errorprone = { id = "net.ltgt.errorprone", version = "5.1.0" }
|
|
lint-spotbugs = { id = "com.github.spotbugs", version = "6.4.12" }
|
|
lint-spotless = { id = "com.diffplug.spotless", version = "8.4.0" }
|
|
|
|
wpilib-gradle-jni = { id = "org.wpilib.GradleJni", version = "2027.0.0" }
|
|
# Note: these plugins can't be used. Their JARs are on the classpath for buildSrc,
|
|
# which doesn't retain version information.
|
|
# wpilib-gradle-vscode = { id = "org.wpilib.GradleVsCode", version = "2027.0.0" }
|
|
# wpilib-native-utils = { id = "org.wpilib.NativeUtils", version = "2027.6.1" }
|
|
wpilib-repositories = { id = "org.wpilib.WPILibRepositoriesPlugin", version = "2027.0.0" }
|
|
wpilib-versioning = { id = "org.wpilib.WPILibVersioningPlugin", version = "2027.0.1" }
|