diff options
Diffstat (limited to 'sonar-batch-protocol/src')
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; |