Skip to content

Commit

Permalink
Add bytebuddy-dep as explicit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Sep 20, 2023
1 parent e2c7164 commit 903e6a0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -650,11 +650,6 @@
</dependency>

<!-- ensures that we always rely on a single bytebuddy version -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>${version.byte-buddy}</version>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
Expand Down Expand Up @@ -740,6 +735,13 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<!-- explicitly include byte-buddy-dep to replace byte-buddy dependency in tests for mockito and assertj-->
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-dep</artifactId>
<version>${version.byte-buddy}</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- adding this to classpath allows to keep default behavior of mockito 4.x where mock subclassing is used. -->
<groupId>org.mockito</groupId>
Expand Down

0 comments on commit 903e6a0

Please sign in to comment.