Remove generated google protobuf support (#7371)

It's not used anymore, and cleans up the build.
This commit is contained in:
Thad House
2024-11-08 18:29:30 -08:00
committed by GitHub
parent 811b130968
commit 3cc541f261
45 changed files with 0 additions and 342 deletions

View File

@@ -1,7 +1,6 @@
apply plugin: 'maven-publish'
apply plugin: 'java-library'
apply plugin: 'jacoco'
apply plugin: 'com.google.protobuf'
def baseArtifactId = project.baseId
def artifactGroupId = project.groupId
@@ -143,35 +142,3 @@ jacocoTestReport {
html.required = true
}
}
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.21.12'
}
plugins {
wpilib {
path = rootProject.file("protoplugin/binary/wpiprotoplugin.jar")
}
}
generateProtoTasks {
all().configureEach { task ->
if (project.hasProperty('skipproto')) {
task.builtins {
cpp {}
remove java
}
return
}
task.inputs.file(rootProject.file("protoplugin/binary/wpiprotoplugin.jar"))
task.plugins {
wpilib {
outputSubDir = 'cpp'
}
}
task.builtins {
cpp {}
remove java
}
}
}
}