Skip to content

Commit

Permalink
Merge pull request #24738: jamm on -javaagent instead of classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
apilloud authored Dec 21, 2022
2 parents e1587f8 + 62e5e58 commit fde81f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdks/java/harness/jmh/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ dependencies {
implementation library.java.joda_time
runtimeOnly library.java.slf4j_jdk14
jammAgent library.java.jamm
testRuntimeOnly library.java.jamm
}

jmh {
Expand All @@ -56,3 +55,8 @@ jmhTest {
}
}

test {
configurations.jammAgent.resolvedConfiguration.files.each {
jvmArgs '-javaagent:' + it
}
}

0 comments on commit fde81f8

Please sign in to comment.