-
Notifications
You must be signed in to change notification settings - Fork 161
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
Default dependencies for Groovy Script #1151
Comments
Why would we want these to be added by default ? Not every groovy file needs all those dependencies. |
I have this question too. For most Groovy developers just choose If you use
From Groovy's dependencies list, and most dependencies are small except
For JBang Groovy script, I think we can add some useful dependencies for Groovy developer, and not to throw ClassNotFoundException then ask him to add dependencies. For junior developers, they event don't know how to choose the dependency for absent class because they always use Groovy SDK and groovy-all. Maybe we can ask some senior groovy developers to confirm this issue. |
same arguments against this as #1160 but even more so for groovy, at least using In addition, I have a big issue with build.gradle projects that use it like: See #1065 and related issues. It is a mess caused by gradle / groovy community IMO. It can be fixed if gradle would actually generate the proper corresponding pom.xml - not something I see (at least for now) a way JBang can really remedy. And about senior groovy I'll just let this tweet stand on its own: https://twitter.com/aalmiray/status/1474061356483727369 :) |
I agree. Now I think groovy-version.jar is enough JBang Groovy script, and of course every Groovy script needs this jar. |
Now JBang Groovy just bundles with
org.apache.groovy:groovy:version
dependency, but it's not enough because most Groovy developers useorg.apache.groovy:groovy-all:version
to include all dependencies for Groovy Script code.According to https://lists.apache.org/thread/2hps5gt689g6w063ol4ghr17vymvy49m Some dependencies should be added for JBang script to make life easy.
The following dependencies will be included for JBang Groovy script by default.
Other dependencies, such as groovy-servlet, groovy-swing etc will be introduced by
//DEPS
.The text was updated successfully, but these errors were encountered: