diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | build.gradle | 1 | ||||
-rw-r--r-- | pom.xml | 6 |
3 files changed, 3 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore index c005ef9e4..f2672aada 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ nbactions.xml .gradle out build +src/main/java/org/traccar/protobuf diff --git a/build.gradle b/build.gradle index 6229a96c3..7ee6b7a95 100644 --- a/build.gradle +++ b/build.gradle @@ -25,6 +25,7 @@ checkstyle { } protobuf { + generatedFilesBaseDir = "$projectDir/src" protoc { artifact = "com.google.protobuf:protoc:$protobufVersion" } @@ -364,11 +364,7 @@ <inputDirectories> <include>src/main/proto</include> </inputDirectories> - <outputTargets> - <outputTarget> - <type>java</type> - </outputTarget> - </outputTargets> + <outputDirectory>src/main/java</outputDirectory> </configuration> </execution> </executions> |