We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4de2026 commit 11026b6Copy full SHA for 11026b6
1 file changed
integration-testing/build.gradle
@@ -1,4 +1,5 @@
1
apply plugin: 'protobuf'
2
+apply plugin: 'idea'
3
4
description = "Stubby: Integration Testing"
5
@@ -21,3 +22,14 @@ dependencies {
21
22
libraries.junit,
23
libraries.mockito
24
}
25
+
26
+// Allow intellij projects to refer to generated-sources
27
+idea {
28
+ module {
29
+ // The whole build dir is excluded by default, but we need build/generated-sources,
30
+ // which contains the generated proto classes.
31
+ excludeDirs = [file('.gradle')]
32
+ excludeDirs += files(file("$buildDir/").listFiles())
33
+ excludeDirs -= file("$buildDir/generated-sources")
34
+ }
35
+}
0 commit comments