We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b03d67 commit b5f0714Copy full SHA for b5f0714
build.gradle
@@ -34,6 +34,18 @@ idea {
34
provider.node.component.find { it.@name == 'VcsDirectoryMappings' }.mapping.@vcs = 'Git'
35
}
36
37
+ workspace {
38
+ iws {
39
+ withXml { xmlFile ->
40
+ def runManager = xmlFile.asNode().component.find { it.@name == 'RunManager' }
41
+ // setup JUnit's default run configuration
42
+ def junitDefaults = runManager.configuration.find { it.@default == 'true' && it.@type == 'JUnit' }
43
+ junitDefaults.option.find { it.@name == 'WORKING_DIRECTORY' }.replaceNode {
44
+ option(name: 'WORKING_DIRECTORY', value: '$MODULE_DIR$')
45
+ }
46
47
48
49
50
51
subprojects {
@@ -80,6 +92,4 @@ subprojects {
80
92
81
93
82
94
83
-
84
85
-}
95
+}
0 commit comments