mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Remove generated google protobuf support (#7371)
It's not used anymore, and cleans up the build.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user