-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support Gradle? #83
Comments
@aadrian Thanks for your suggestion!
Yes, I thought about supporting it once, but I didn't use Gradle, so I put it off. If there is a library which can rewrite |
@liquidz I'm not aware of any 3rd party libraries that could "parse" a (So it's important not just what it's declared there, but what gets interpreted/solved when executed - similar to a Maven BOM .) For that to be correct, I think one would need Gradle itself to get the right list:
|
@aadrian Thanks for your confirmation!
Good to know. It looks appropriate to use the following command results, but is it common to specify $ gradle -q dependencies --configuration devRuntimeClasspath |
That's not a big issue. Just getting a list of outdated dependencies would be extremely useful.
Not in my experience so far, just Many just have a Git Hook on Gradle files ( If you ask if it's common for users to use different dependency scopes with Gradle, than yes, but most users prefer the Maven scopes https://www.baeldung.com/maven-dependency-scopes, since all artifact repos are Maven repos. |
@aadrian Thanks!
OK. I'll try to use |
@aadrian I'm trying to support Gradle in feature/gradle branch. |
@liquidz wow ! This looks great! |
@aadrian Sorry for late action.
BTW, do you know how to print repositories which is defined in build.gradle via |
@liquidz When having more complex projects and using more than one repo, some add this task: task listrepos {
doLast {
println "Repositories:"
project.repositories.each { println "Name: " + it.name + "; url: " + it.url }
}
} so that one can call just |
@aadrian Thanks! |
@aadrian Could you review setting up steps? If you OK, I'll merge #91 and release :) |
@aadrian ping :) |
@liquidz I'm sorry - I missed the changes to this issue (and to the other issues where I'm involved :( ).
The steps look OK. to me. I've tried them again however (with Gradle 6.x) but unfortunately now I'm getting:
for Java 8 (on all OSes: Windows/Mac/Linux) |
Ah, sorry.
You should see the following message.
Could you try the following step to use local JAR file?
|
@liquidz I suppose you mean to do that for the "feature" branch.
This kind of works, but it still has issues. E.g. for a new project created with
|
@aadrian Thanks for your confirmation!
Right.
It's a problem in the latest version of depstar.
It seems work as expected for me. FYI, here is output in my environment.
There is no available diff URL for |
I understand.
To have no error message when:
so, to have return code 0 for a script that behaves as expected.
I see. |
antq is a tool to detect outdated dependencies, so returning code
|
Hi
Any chance supporting Gradle too? (since Maven is supported)
https://docs.gradle.org/current/userguide/viewing_debugging_dependencies.html
Gradle is being used with or without a Clojure specific plug-in https://clojurephant.dev/clojurephant/ for Clojure/ClojureScript projects.
Thank you.
The text was updated successfully, but these errors were encountered: