We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7add1 commit 15f6e83Copy full SHA for 15f6e83
build.gradle
@@ -13,6 +13,12 @@ repositories {
13
mavenCentral()
14
}
15
16
+test.doFirst {
17
+ if (gradle.taskGraph.getAllTasks().contains(build)) {
18
+ throw new StopExecutionException()
19
+ }
20
+}
21
+
22
dependencies {
23
testCompile 'junit:junit:4.12'
24
testCompile 'org.mockito:mockito-core:2.0.62-beta'
0 commit comments