vlsi commented on a change in pull request #590:
URL: https://github.com/apache/jmeter/pull/590#discussion_r421741265
##########
File path: src/bom/build.gradle.kts
##########
@@ -87,7 +87,13 @@ dependencies {
apiv("javax.mail:mail")
apiv("jcharts:jcharts")
apiv("junit:junit", "junit4")
- apiv("org.codehaus.groovy:groovy-all")
+ apiv("org.codehaus.groovy:groovy", "groovy")
+ apiv("org.codehaus.groovy:groovy-datetime", "groovy")
+ apiv("org.codehaus.groovy:groovy-jmx", "groovy")
+ apiv("org.codehaus.groovy:groovy-json", "groovy")
+ apiv("org.codehaus.groovy:groovy-jsr223", "groovy")
+ apiv("org.codehaus.groovy:groovy-sql", "groovy")
+ apiv("org.codehaus.groovy:groovy-templates", "groovy")
Review comment:
Oh,
https://docs.gradle.org/current/userguide/java_platform_plugin.html#sec:java_platform_bom_import
So there should be the following before `dependencies`
```
javaPlatform {
allowDependencies()
}
```
and `api(platform(...))` should come in the dependencies section rather than
`dependencies { constraints { ... }}`.
Can you please try that? (move `api(platform` before `(constraints) {...`)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]