diff --git a/docs/guide/setup.md b/docs/guide/setup.md index cf6b9bb3..c03a2d98 100644 --- a/docs/guide/setup.md +++ b/docs/guide/setup.md @@ -15,31 +15,8 @@ To use the DSL just include it in your project: ::: ::: code-group-item Gradle ```groovy -// this is required due to JMeter open issue: https://bz.apache.org/bugzilla/show_bug.cgi?id=64465 -@CacheableRule -class JmeterRule implements ComponentMetadataRule { - void execute(ComponentMetadataContext context) { - context.details.allVariants { - withDependencies { - removeAll { it.group == "org.apache.jmeter" && it.name == "bom" } - } - } - } -} - -dependencies { - ... - testImplementation 'us.abstracta.jmeter:jmeter-java-dsl:1.23' - components { - withModule("org.apache.jmeter:ApacheJMeter_core", JmeterRule) - withModule("org.apache.jmeter:ApacheJMeter_java", JmeterRule) - withModule("org.apache.jmeter:ApacheJMeter", JmeterRule) - withModule("org.apache.jmeter:ApacheJMeter_http", JmeterRule) - withModule("org.apache.jmeter:ApacheJMeter_functions", JmeterRule) - withModule("org.apache.jmeter:ApacheJMeter_components", JmeterRule) - withModule("org.apache.jmeter:ApacheJMeter_config", JmeterRule) - withModule("org.apache.jmeter:jorphan", JmeterRule) - } +testImplementation("us.abstracta.jmeter:jmeter-java-dsl:1.23") { + exclude("org.apache.jmeter", "bom") } ``` :::