Hi Vladimir,

I was able to map the groovy and jackson data format versions into the
*build.gradle.kts* files. I executed smoke tests using the GUI on JSR 223
using Groovy 4.0.0. Everything went fine.

But when I executed the *.\gradlew test*, I got the below error. Not sure
why it is still referenced to codehaus. Any insight would be appreciated.
Thanks1








** What went wrong:Execution failed for task ':src:core:test'.> Could not
resolve all files for configuration ':src:core:testRuntimeClasspath'.   >
Could not resolve org.apache.groovy:groovy.     Required by:
 project :src:core      > Module 'org.apache.groovy:groovy' has been
rejected:           Cannot select module with conflict on capability
'org.codehaus.groovy:groovy:4.0.0' also provided by
[org.codehaus.groovy:groovy:3.0.0(runtime)]*


NaveenKumar Namachivayam
Performance Engineer
  https://qainsights.com
  [email protected]
  Cincinnati, OH <https://maps.google.com/?q=Cincinnati, OH>
<http://github.com/qainsights> <http://youtube.com/qainsights>
<http://us.linkedin.com/in/naveenkumarn> <http://twitter.com/qainsights>
<http://facebook.com/naveenkumar\.namachivayam>

On Wed, Mar 2, 2022 at 11:51 PM Vladimir Sitnikov <
[email protected]> wrote:

> >org.codehaus doesn't have Groovy 4.0.0 yet. Could you please advise?
> Thanks!
>
> Please check
>
> https://groovy-lang.org/releasenotes/groovy-4.0.html#Groovy4.0-naming-changes
> org.codehaus.groovy should be updated with org.apache.groovy
>
> For instance, here:
>
> https://github.com/apache/jmeter/blob/1d573158f2af7be882674e59c02490836abd0cde/src/bom/build.gradle.kts#L47
> and here:
>
> https://github.com/apache/jmeter/blob/417846471d320c5d18bfec899b8518276c8a9574/src/core/build.gradle.kts#L62-L66
>
> Vladimir
>


-- 
[image: photo]
NaveenKumar Namachivayam
Performance Engineer, QAInsights
<http://github.com/qainsights> <http://youtube.com/qainsights>
<http://us.linkedin.com/in/naveenkumarn> <http://twitter.com/qainsights>
<http://facebook.com/naveenkumar%5C.namachivayam>
  [email protected]
  https://qainsights.com
  Cincinnati, OH

Reply via email to