Skip to content

Commit

Permalink
Exclude jamm from harness jar
Browse files Browse the repository at this point in the history
  • Loading branch information
apilloud authored and ruslan-ikhsan committed Nov 30, 2022
1 parent 3978cae commit 2ccee17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/java/harness/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ dependencies {
provided library.java.slf4j_api
provided library.java.vendored_grpc_1_48_1
provided library.java.vendored_guava_26_0_jre

provided library.java.jamm
}

applyJavaNature(
Expand All @@ -51,7 +53,6 @@ applyJavaNature(
"org/apache/beam/runners/core/construction/**",
"org/apache/beam/sdk/fn/**",
"org/checkerframework/**",
"org/github/jamm/**",
"org/hamcrest/**",
"org/junit/**",
],
Expand All @@ -75,7 +76,6 @@ dependencies {
implementation project(":runners:core-construction-java")
implementation project(":runners:core-java")
implementation project(":sdks:java:fn-execution")
implementation library.java.jamm
testImplementation library.java.junit
testImplementation library.java.mockito_core
shadowTestRuntimeClasspath project(path: ":sdks:java:core", configuration: "shadowTest")
Expand Down
1 change: 1 addition & 0 deletions sdks/java/harness/jmh/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dependencies {
implementation library.java.joda_time
runtimeOnly library.java.slf4j_jdk14
jammAgent library.java.jamm
testRuntimeOnly library.java.jamm
}

jmh {
Expand Down

0 comments on commit 2ccee17

Please sign in to comment.