Change generated source path

This commit is contained in:
Anton Tananaev 2019-11-30 11:27:19 -08:00
parent 1f9d57f909
commit e24fa43110
3 changed files with 3 additions and 5 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ nbactions.xml
.gradle
out
build
src/main/java/org/traccar/protobuf

View File

@ -25,6 +25,7 @@ checkstyle {
}
protobuf {
generatedFilesBaseDir = "$projectDir/src"
protoc {
artifact = "com.google.protobuf:protoc:$protobufVersion"
}

View File

@ -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>