Update to wpilib 2023 beta 7 (#607)

We now need platform specific jars -- reworks actions to support that. Currently only generates 32 bit pi images.
This commit is contained in:
shueja-personal
2022-12-16 17:05:23 -08:00
committed by GitHub
parent da1aabae3a
commit bb63af601d
198 changed files with 6339 additions and 4525 deletions

View File

@@ -0,0 +1,28 @@
task copyPhotonlib() {
doFirst {
// Assume publish to maven local has just be run. Kinda curst
// // first, invoke gradle to generate the vendor json
// try {
// exec {
// commandLine 'gradlew', 'photon-lib:generateVendorJson', '-x', "check"
// }
// } catch (Exception e) {
// // ignored
// }
def vendorJsonSrc = new File("${rootDir}", "../photon-lib/build/generated/vendordeps/");
def vendorJsonDst = new File("${projectDir}/vendordeps/");
delete(fileTree(vendorJsonDst) {
exclude '.gitignore'
})
println("Copying from ${vendorJsonSrc} to ${vendorJsonDst}")
copy {
from vendorJsonSrc
into vendorJsonDst
}
}
outputs.upToDateWhen { false }
}