Skip to content

Commit

Permalink
Exclude Kotlin classes from agent jar to avoid increasing size
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog committed Feb 29, 2024
1 parent 9697ec9 commit 69efc6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dd-java-agent/instrumentation/junit-4.10/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ tasks.named("compileLatestDepTestGroovy").configure {
dependencies {
compileOnly group: 'junit', name: 'junit', version: '4.10'

// prevents kotlin plugin from including kotlin classes into the agent Jar
compileOnly deps.kotlin

testImplementation testFixtures(project(':dd-java-agent:agent-ci-visibility'))

// version used below is not the minimum one that we support,
Expand Down

0 comments on commit 69efc6e

Please sign in to comment.