Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dependency): fix to upgrade groovy 3.x #1391

Closed
wants to merge 2 commits into from

Conversation

j-sandy
Copy link
Contributor

@j-sandy j-sandy commented Sep 19, 2023

chore(dependency): add testImplementation of groovy-json dependency while upgrading to groovy 3.x

While upgrading groovy from 2.5.15 to 3.0.10, encountered following error during front50-web:test :

startup failed:
/front50/front50-web/src/test/groovy/com/netflix/spinnaker/front50/controllers/PipelineControllerTck.groovy: 42: unable to resolve class groovy.json.JsonSlurper
 @ line 42, column 1.
   import groovy.json.JsonSlurper
   ^
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':front50-web:compileTestGroovy'.

To resolve this issue added testImplementation of org.codehaus.groovy:groovy-json in front50-web.gradle


refactor(build): cleanup of junit-vintage-engine and introduce junit-jupiter-engine with upgrade of groovy 3.x

…hile upgrading to groovy 3.x

While upgrading groovy from 2.5.15 to 3.0.10, encountered following error during front50-web:test :
```
startup failed:
/front50/front50-web/src/test/groovy/com/netflix/spinnaker/front50/controllers/PipelineControllerTck.groovy: 42: unable to resolve class groovy.json.JsonSlurper
 @ line 42, column 1.
   import groovy.json.JsonSlurper
   ^
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':front50-web:compileTestGroovy'.
```
To resolve this issue added testImplementation of org.codehaus.groovy:groovy-json in front50-web.gradle
@j-sandy j-sandy changed the title chore(dependency): add testImplementation of groovy-json dependency while upgrading to groovy 3.x chore(dependency): fix to upgrade groovy 3.x Sep 19, 2023
@j-sandy
Copy link
Contributor Author

j-sandy commented Sep 22, 2023

Closing this PR and going to raise 2 separate PRs for given 2 commits

@j-sandy j-sandy closed this Sep 22, 2023
@j-sandy j-sandy deleted the groovy-3-upgrade branch September 22, 2023 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant