Bump protobuf dependency to 3.0.0-beta-3
This allows us to play with zero-copy and proto3 support for lite.
Unfortunately, it introduced some warnings, so deprecated warnings are
now ignored for benchmarks and interop-testing.
diff --git a/compiler/build.gradle b/compiler/build.gradle
index c9b7c56..e368c36 100644
--- a/compiler/build.gradle
+++ b/compiler/build.gradle
@@ -125,7 +125,11 @@
}
sourceSets {
- testLite {}
+ testLite {
+ proto {
+ setSrcDirs(['src/test/proto'])
+ }
+ }
testNano {
proto {
setSrcDirs(['src/test/proto'])
@@ -136,7 +140,7 @@
compileTestLiteJava {
// Protobuf-generated Lite produces quite a few warnings.
options.compilerArgs = compileTestJava.options.compilerArgs +
- ["-Xlint:-unchecked", "-Xlint:-rawtypes"]
+ ["-Xlint:-unchecked", "-Xlint:-rawtypes", "-Xlint:-fallthrough"]
}
compileTestNanoJava {