diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-30 11:27:19 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-30 11:27:19 -0800 |
commit | e24fa431100c8a75e098a396a1707bc72e2096f3 (patch) | |
tree | 61fd4cafc668d2e83ee9388b1c7d204127dade83 | |
parent | 1f9d57f90960b4aa538cb7f6e383820630d7d365 (diff) | |
download | traccar-server-e24fa431100c8a75e098a396a1707bc72e2096f3.tar.gz traccar-server-e24fa431100c8a75e098a396a1707bc72e2096f3.tar.bz2 traccar-server-e24fa431100c8a75e098a396a1707bc72e2096f3.zip |
Change generated source path
-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> |