Skip to content

Commit fe5b6f3

Browse files
committed
Fix mockito agent warning properly
1 parent 4733161 commit fe5b6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test {
4949
beforeTest { event -> println("Running test: ${event.displayName}") }
5050
afterTest { event, result -> println("Finished test: ${event.displayName} - ${result}") }
5151
}
52-
jvmArgs.add("-javaagent:${configurations.mockitoAgent.asPath}")
52+
jvmArgs += "-javaagent:${configurations.mockitoAgent.asPath}"
5353
}
5454

5555
tasks.named("bootBuildImage") {

0 commit comments

Comments
 (0)