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

Grails 4 missing grails-plugin-testing dependency #11293

Closed
sjrd218 opened this issue Apr 10, 2019 · 3 comments
Closed

Grails 4 missing grails-plugin-testing dependency #11293

sjrd218 opened this issue Apr 10, 2019 · 3 comments

Comments

@sjrd218
Copy link

sjrd218 commented Apr 10, 2019

There seems to be a missing dependency in the grails maven repo for the dependency org.grails:grails-plugin-testing: for grails 4.0.0.M2

Steps to Reproduce

Create a gradle multi project with a grails app and a grails plugin.
Write a test in the plugin.

Try to run a gradle build
For full debug run gradle build --scan

Expected Behaviour

Dependency should resolve

Actual Behaviour

Gradle can't find the dependency for: org.grails:grails-plugin-testing:
Gradle build fails

Environment Information

  • Operating System: OS X
  • Grails Version: Grails 4.0.0 M2
  • JDK Version: JDK 1.8.181

Example Application

https://github.com/sjrd218/BigProject

@graemerocher
Copy link
Member

That module is no longer supported / needed and has been replaced by https://testing.grails.org/latest/guide/index.html

@sjrd218
Copy link
Author

sjrd218 commented Apr 10, 2019

@graemerocher Then the grails create-plugin command needs to stop creating plugins with that dependency in the build.gradle

@graemerocher
Copy link
Member

Good point. I see the issue is with https://github.com/grails-profiles/plugin/blob/master/profile.yml

@graemerocher graemerocher reopened this Apr 10, 2019
@graemerocher graemerocher added this to the grails-4.0.0 milestone Apr 10, 2019
pvidasoftware added a commit to pvidasoftware/grails-doc that referenced this issue May 15, 2020
according to this grails/grails-core#11293 `org.grails:grails-plugin-testing` is deprecated and although this document is an example can be confuse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants