Skip to content

Commit a04433c

Browse files
committed
add protobuf generated sources for correct importing project in the JntelliJ
1 parent da6938b commit a04433c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@ if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
102102
compileJava.options.release = 8;
103103
}
104104

105+
// add protobuf generated sources for correct importing project in the JntelliJ
106+
sourceSets {
107+
main {
108+
java {
109+
srcDirs 'build/generated/source/proto/main/java'
110+
}
111+
}
112+
}
113+
105114
test {
106115
if (osName.contains("linux")) {
107116
environment "AAPT2_PATH", "build/resources/main/linux/aapt2"

0 commit comments

Comments
 (0)