aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-11-30 11:27:19 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-11-30 11:27:19 -0800
commite24fa431100c8a75e098a396a1707bc72e2096f3 (patch)
tree61fd4cafc668d2e83ee9388b1c7d204127dade83
parent1f9d57f90960b4aa538cb7f6e383820630d7d365 (diff)
downloadtrackermap-server-e24fa431100c8a75e098a396a1707bc72e2096f3.tar.gz
trackermap-server-e24fa431100c8a75e098a396a1707bc72e2096f3.tar.bz2
trackermap-server-e24fa431100c8a75e098a396a1707bc72e2096f3.zip
Change generated source path
-rw-r--r--.gitignore1
-rw-r--r--build.gradle1
-rw-r--r--pom.xml6
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"
}
diff --git a/pom.xml b/pom.xml
index d12c0ec70..1b405aa4c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>