Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"

id("com.gradleup.shadow") version "8.3.6" apply false
id("me.champeau.jmh") version "0.7.0" apply false
id("me.champeau.jmh") version "0.7.3" apply false
id("org.gradle.playframework") version "0.13" apply false
id("info.solidsoft.pitest") version "1.9.11" apply false
}
Expand Down
2 changes: 1 addition & 1 deletion dd-java-agent/agent-bootstrap/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ idea {
}

jmh {
jmhVersion = '1.32'
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
}

Expand Down
2 changes: 1 addition & 1 deletion dd-java-agent/agent-iast/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spotless {
}

jmh {
jmhVersion = '1.28'
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
}

Expand Down
2 changes: 1 addition & 1 deletion dd-java-agent/agent-tooling/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies {
}

jmh {
jmhVersion = '1.32'
jmhVersion = libs.versions.jmh.get()
includeTests = true
}
compileJmhJava.dependsOn compileTestJava
Expand Down
2 changes: 1 addition & 1 deletion dd-java-agent/appsec/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ processResources {
}

jmh {
jmhVersion = '1.32'
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
jvmArgs = ['-Ddd.appsec.enabled=true -Xms64m -Xmx64m']
failOnError = false
Expand Down
2 changes: 1 addition & 1 deletion dd-java-agent/benchmark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jmh {
// Allows to include test sources into generate JMH jar, i.e. use it when benchmarks depend on the test classes.

duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
jmhVersion = '1.23' // Specifies JMH version
jmhVersion = libs.versions.jmh.get()
}

tasks.named('jmh').configure {
Expand Down
2 changes: 1 addition & 1 deletion dd-java-agent/instrumentation/jdbc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ tasks.withType(Test).configureEach {
}

jmh {
jmhVersion = '1.28'
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
}
2 changes: 1 addition & 1 deletion dd-trace-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ dependencies {
}

jmh {
jmhVersion = '1.28'
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
}
2 changes: 1 addition & 1 deletion dd-trace-ot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jmh {
// warmupBenchmarks = ['.*Warmup'] // Warmup benchmarks to include in the run in addition to already selected. JMH will not measure these benchmarks, but only use them for the warmup.

// zip64 = true // Use ZIP64 format for bigger archives
jmhVersion = "1.23" // Specifies JMH version
jmhVersion = libs.versions.jmh.get()
// includeTests = true // Allows to include test sources into generate JMH jar, i.e. use it when benchmarks depend on the test classes.
// duplicateClassesStrategy = 'warn' // Strategy to apply when encountring duplicate classes during creation of the fat jar (i.e. while executing jmhJar task)
}
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ddprof = "1.29.0"
asm = "9.8"
cafe_crypto = "0.1.0"
lz4 = "1.7.1"
jmh = "1.37"

[libraries]
slf4j = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
Expand Down
2 changes: 1 addition & 1 deletion internal-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,6 @@ dependencies {
}

jmh {
jmhVersion = "1.32"
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
}
2 changes: 1 addition & 1 deletion internal-api/internal-api-9/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ idea {
}

jmh {
jmhVersion = "1.28"
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
jvm = System.getenv("JAVA_11_HOME") + "/bin/java"
}
2 changes: 1 addition & 1 deletion telemetry/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ dependencies {
}

jmh {
jmhVersion = "1.28"
jmhVersion = libs.versions.jmh.get()
duplicateClassesStrategy = DuplicatesStrategy.EXCLUDE
}