Re: Gradle plugin to merge @ServiceProvider namedservices

2022-09-20 Thread Ernie Rael
FYI: https://plugins.gradle.org/plugin/com.raelity.namedservices-merge -ernie On 9/16/22 7:53 AM, Ernie Rael wrote: On 9/16/22 6:27 AM, Jaroslav Tulach wrote: Something like https://imperceptiblethoughts.com/shadow/configuration/merging/#merging-service-descriptor-files, right? -jt Yes.

Re: Gradle plugin to merge @ServiceProvider namedservices

2022-09-16 Thread Ernie Rael
On 9/16/22 6:27 AM, Jaroslav Tulach wrote: Something like https://imperceptiblethoughts.com/shadow/configuration/merging/#merging-service-descriptor-files, right? -jt Yes. But narrowly targeted and considers the position metadata. See usage at: https://sourceforge.net/p/jvi/raelity-gradle/

Re: Gradle plugin to merge @ServiceProvider namedservices

2022-09-16 Thread Jaroslav Tulach
Something like https://imperceptiblethoughts.com/shadow/configuration/merging/#merging-service-descriptor-files, right? -jt > > 16. 9. 2022 v 3:35, Ernie Rael : > Slightly off topic. > > I work on a plain old java project that uses org.openide.util.lookup's > @ServiceProvider. I've converted

Re: Gradle plugin to merge @ServiceProvider namedservices

2022-09-15 Thread Ernie Rael
Doh! Left something out I've built a gradle plugin to handle this. The project's VCS has a readme that has usage instructions. I'm a gradle newbie and this is my first plugin, any comments appreciated. See usage at: https://sourceforge.net/p/jvi/raelity-gradle/ci/default/tree/ -ernie On 9/1

Re: gradle plugin

2019-10-09 Thread Jonathan Bergh
Thanks Laszlo, that was it. Appreciate the help. On Wed, 09 Oct 2019, 5:27 PM Laszlo Kishalmi, wrote: > Check the sourceset definition in your buildscript. > > You can also open the the project properties (by right clicking on the > project), then click on the sources to see which directories

Re: gradle plugin

2019-10-09 Thread Laszlo Kishalmi
Check the sourceset definition in your buildscript. You can also open the the project properties (by right clicking on the project), then click on the sources to see which directories are reported back to to the defined sourecesets. I'm guessing the resources dir has been added to the java di