You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Thomas Kellerer <sh...@gmx.net> on 2021/05/03 06:16:01 UTC
Gradle - displaying dependency graph like Maven
When debugging problems with transitively included libraries in Maven, I find the graph display of the POM extremely helpful.
But I can't find anything similar when using a Gradle project.
Am I missing something, or does this simply not exist?
I am using NetBeans 12.3
Regards
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Gradle - displaying dependency graph like Maven
Posted by Christian Pervoelz <cp...@gmail.com>.
May you want to try implementing your own?
https://github.com/apache/netbeans/tree/master/java/maven.graph might be a
good starting point...
There might not be everything in place for scanning gradle, but maybe the
output of what Giles propose might be a good input for the graph.
Am Mo., 3. Mai 2021 um 16:50 Uhr schrieb Fred Welland <
fred.welland@gmail.com>:
> Outside of netbeans, and just in gradle-space, there are a few plugins
> that assist with dep visualizaiton.
>
> There is also gradle build scans, which provide lots of good information
> about a build, including data on deps.
>
> On Mon, May 3, 2021 at 10:29 AM Laszlo Kishalmi <la...@gmail.com>
> wrote:
>
>> That's the best thing you can do now. There is no UI Graph
>> representation of dependencies implemented for Gradle.
>>
>> On 5/3/21 12:00 AM, Giles Winstanley wrote:
>> > `gradle dependencies` is a good starting place (I typically also use the
>> > -q option to remove the cruft).
>> >
>> > There's also, for example:
>> > `gradlew -q dependencies --configuration runtimeClasspath`
>> > which will give you depdencencies just a specific configuration.
>> >
>> > With regard to Netbeans integration, you can set this up as a saved task
>> > by right-clicking the build.gradle file in the project view, then
>> > defining the options (just omit the "gradle" or "gradlew" part at the
>> > beginning). Output will be to the standard output window.
>> >
>> > Hope that helps,
>> > Stan
>> >
>> > On 03/05/2021 07:16, Thomas Kellerer wrote:
>> >> When debugging problems with transitively included libraries in Maven,
>> I find the graph display of the POM extremely helpful.
>> >>
>> >> But I can't find anything similar when using a Gradle project.
>> >>
>> >> Am I missing something, or does this simply not exist?
>> >>
>> >> I am using NetBeans 12.3
>> >>
>> >> Regards
>> >> Thomas
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> >> For additional commands, e-mail: users-help@netbeans.apache.org
>> >>
>> >> For further information about the NetBeans mailing lists, visit:
>> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> >>
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> > For additional commands, e-mail: users-help@netbeans.apache.org
>> >
>> > For further information about the NetBeans mailing lists, visit:
>> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
Re: Gradle - displaying dependency graph like Maven
Posted by Fred Welland <fr...@gmail.com>.
Outside of netbeans, and just in gradle-space, there are a few plugins
that assist with dep visualizaiton.
There is also gradle build scans, which provide lots of good information
about a build, including data on deps.
On Mon, May 3, 2021 at 10:29 AM Laszlo Kishalmi <la...@gmail.com>
wrote:
> That's the best thing you can do now. There is no UI Graph
> representation of dependencies implemented for Gradle.
>
> On 5/3/21 12:00 AM, Giles Winstanley wrote:
> > `gradle dependencies` is a good starting place (I typically also use the
> > -q option to remove the cruft).
> >
> > There's also, for example:
> > `gradlew -q dependencies --configuration runtimeClasspath`
> > which will give you depdencencies just a specific configuration.
> >
> > With regard to Netbeans integration, you can set this up as a saved task
> > by right-clicking the build.gradle file in the project view, then
> > defining the options (just omit the "gradle" or "gradlew" part at the
> > beginning). Output will be to the standard output window.
> >
> > Hope that helps,
> > Stan
> >
> > On 03/05/2021 07:16, Thomas Kellerer wrote:
> >> When debugging problems with transitively included libraries in Maven,
> I find the graph display of the POM extremely helpful.
> >>
> >> But I can't find anything similar when using a Gradle project.
> >>
> >> Am I missing something, or does this simply not exist?
> >>
> >> I am using NetBeans 12.3
> >>
> >> Regards
> >> Thomas
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> >> For additional commands, e-mail: users-help@netbeans.apache.org
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: users-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
Re: Gradle - displaying dependency graph like Maven
Posted by Laszlo Kishalmi <la...@gmail.com>.
That's the best thing you can do now. There is no UI Graph
representation of dependencies implemented for Gradle.
On 5/3/21 12:00 AM, Giles Winstanley wrote:
> `gradle dependencies` is a good starting place (I typically also use the
> -q option to remove the cruft).
>
> There's also, for example:
> `gradlew -q dependencies --configuration runtimeClasspath`
> which will give you depdencencies just a specific configuration.
>
> With regard to Netbeans integration, you can set this up as a saved task
> by right-clicking the build.gradle file in the project view, then
> defining the options (just omit the "gradle" or "gradlew" part at the
> beginning). Output will be to the standard output window.
>
> Hope that helps,
> Stan
>
> On 03/05/2021 07:16, Thomas Kellerer wrote:
>> When debugging problems with transitively included libraries in Maven, I find the graph display of the POM extremely helpful.
>>
>> But I can't find anything similar when using a Gradle project.
>>
>> Am I missing something, or does this simply not exist?
>>
>> I am using NetBeans 12.3
>>
>> Regards
>> Thomas
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Gradle - displaying dependency graph like Maven
Posted by Giles Winstanley <st...@snaq.net>.
`gradle dependencies` is a good starting place (I typically also use the
-q option to remove the cruft).
There's also, for example:
`gradlew -q dependencies --configuration runtimeClasspath`
which will give you depdencencies just a specific configuration.
With regard to Netbeans integration, you can set this up as a saved task
by right-clicking the build.gradle file in the project view, then
defining the options (just omit the "gradle" or "gradlew" part at the
beginning). Output will be to the standard output window.
Hope that helps,
Stan
On 03/05/2021 07:16, Thomas Kellerer wrote:
> When debugging problems with transitively included libraries in Maven, I find the graph display of the POM extremely helpful.
>
> But I can't find anything similar when using a Gradle project.
>
> Am I missing something, or does this simply not exist?
>
> I am using NetBeans 12.3
>
> Regards
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists