summaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-30 18:31:45 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-07-30 18:31:45 +0200
commit7b45121faacfc19e69438f783d44ce50d809fcd2 (patch)
tree120f8f4722c0b73f8289ef2e548b06a3a8431ec7 /sonar-batch-protocol
parentca7396b9e6815c2e70d410f3b634fc10528a65ec (diff)
downloadsonarqube-7b45121faacfc19e69438f783d44ce50d809fcd2.tar.gz
sonarqube-7b45121faacfc19e69438f783d44ce50d809fcd2.zip
Prepare upgrade to protobuf 3
Files .proto must declare: syntax = "proto2";
Diffstat (limited to 'sonar-batch-protocol')
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_input.proto1
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_report.proto1
-rw-r--r--sonar-batch-protocol/src/main/protobuf/constants.proto2
3 files changed, 4 insertions, 0 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_input.proto b/sonar-batch-protocol/src/main/protobuf/batch_input.proto
index 22b68daad39..84a9c53d812 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_input.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_input.proto
@@ -30,6 +30,7 @@ Notes
are updated and committed for each change (see src/main/gen-java).
*/
+syntax = "proto2";
import "constants.proto";
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
index 52ad2f48fd9..76eec978266 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
@@ -30,6 +30,7 @@ Notes
are updated and committed for each change (see src/main/gen-java).
*/
+syntax = "proto2";
import "constants.proto";
diff --git a/sonar-batch-protocol/src/main/protobuf/constants.proto b/sonar-batch-protocol/src/main/protobuf/constants.proto
index 5dd0ce9c163..c0825ffefae 100644
--- a/sonar-batch-protocol/src/main/protobuf/constants.proto
+++ b/sonar-batch-protocol/src/main/protobuf/constants.proto
@@ -16,6 +16,8 @@
// along with this program; if not, write to the Free Software Foundation,
// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+syntax = "proto2";
+
option java_package = "org.sonar.batch.protocol";
option optimize_for = SPEED;