Skip to content

Commit

Permalink
IntelliJ: Let IntelliJ test-runner default to CHOOSE_PER_TEST again (#…
Browse files Browse the repository at this point in the history
…6452)

Can be overridden using the following setting in the _user's_
gradle.properties file `~/.gradle/gradle.properties` like this:
```
systemProp.nessie.intellij.test-runner=GRADLE
```
  • Loading branch information
snazy committed Mar 31, 2023
1 parent afae80f commit 0aa4204
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildSrc/src/main/kotlin/Ide.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ class NessieIdePlugin : Plugin<Project> {
.joinToString(" ")
}

delegateActions.testRunner = ActionDelegationConfig.TestRunner.GRADLE
delegateActions.testRunner =
ActionDelegationConfig.TestRunner.valueOf(
System.getProperty("nessie.intellij.test-runner", "CHOOSE_PER_TEST")
)
}
}

Expand Down

0 comments on commit 0aa4204

Please sign in to comment.