File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,14 @@ sourceSets {
1818 java {
1919 srcDir " $projectDir /build/generated/main/java"
2020 }
21+ proto {
22+ srcDir " ."
23+ exclude " build/**"
24+ exclude " .idea/**"
25+ exclude " .gradle/**"
26+ exclude " .github/**"
27+ exclude " docs/**"
28+ }
2129 }
2230}
2331
@@ -38,9 +46,6 @@ dependencies {
3846 if (JavaVersion . current(). isJava9Compatible()) {
3947 compile ' javax.annotation:javax.annotation-api:1.3.1'
4048 }
41-
42- // Extra proto source files besides the ones residing under "src/main".
43- protobuf files(" odpf" )
4449}
4550
4651
@@ -54,7 +59,10 @@ protobuf {
5459 }
5560 generateProtoTasks {
5661 all()* . plugins {
57-
62+ // incase required to generate for multiple languages
63+ // refer to gradle protobuf plugin documentation: https://github.com/google/protobuf-gradle-plugin
64+ // python{}
65+ // go{}
5866 }
5967 }
6068}
You can’t perform that action at this time.
0 commit comments