mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpimath] Commit generated quickbuf Java files (#5994)
This removes a build dependency on the quickbuf generator being available for the build platform. It's safe to generate Java because the quickbuf version is defined by the project. C++ protobufs can't be committed because the protoc version must match the library version (this is a particular issue for cmake builds).
This commit is contained in:
@@ -146,22 +146,12 @@ protobuf {
|
||||
protoc {
|
||||
artifact = 'com.google.protobuf:protoc:3.21.12'
|
||||
}
|
||||
plugins {
|
||||
quickbuf {
|
||||
artifact = 'us.hebi.quickbuf:protoc-gen-quickbuf:1.3.2'
|
||||
}
|
||||
}
|
||||
generateProtoTasks {
|
||||
all().configureEach { task ->
|
||||
task.builtins {
|
||||
cpp {}
|
||||
remove java
|
||||
}
|
||||
task.plugins {
|
||||
quickbuf {
|
||||
option "gen_descriptors=true"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user