Skip to content

Commit

Permalink
add protobuf generated sources for correct importing project in the J…
Browse files Browse the repository at this point in the history
…ntelliJ
  • Loading branch information
sv99 committed May 4, 2023
1 parent 6a54377 commit 3978320
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ if (JavaVersion.current() != JavaVersion.VERSION_1_8) {
compileJava.options.release = 8;
}

// add protobuf generated sources for correct importing project in the JntelliJ
sourceSets {
main {
java {
srcDirs 'build/generated/source/proto/main/java'
}
}
}

test {
if (osName.contains("linux")) {
environment "AAPT2_PATH", "build/resources/main/linux/aapt2"
Expand Down

0 comments on commit 3978320

Please sign in to comment.