Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for installing a Java agent within the Mockito jar, without exposing Byte Buddy's attach mechanism. #3437

Merged
merged 10 commits into from
Sep 16, 2024
Prev Previous commit
Next Next commit
Update src/main/java/org/mockito/Mockito.java
Co-authored-by: Brice Dutheil <brice.dutheil@gmail.com>
  • Loading branch information
raphw and bric3 authored Sep 5, 2024
commit 7b6b8b3f3141d96f34a6b0c89f3cc8e3847d6acd
2 changes: 1 addition & 1 deletion src/main/java/org/mockito/Mockito.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
* as an argument to the executing JVM. To enable this in Gradle, the following example adds Mockito to all test
* tasks:
*
* <pre class="code"><code>
* <pre class="code"><code<code class="kotlin">
bric3 marked this conversation as resolved.
Show resolved Hide resolved
* val mockitoAgent = configurations.create("mockitoAgent")
* dependencies {
* mockitoAgent(libs.mockito)
Expand Down
Loading