Something like 
https://imperceptiblethoughts.com/shadow/configuration/merging/#merging-service-descriptor-files,
 right?
-jt

> 
> 16. 9. 2022 v 3:35, Ernie Rael <err...@raelity.com>:
> Slightly off topic.
> 
> I work on a plain old java project that uses org.openide.util.lookup's 
> @ServiceProvider. I've converted that ancient project (which ends up in a 
> NetBeans plugin) to use gradle instead of ant. While doing this, I've split 
> the sources into separate sub-projects and combine some of them into a single 
> jar. There's a need to combine namedservices data into the single jar.
> 
> 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.
> 
> Planning to make this available in the gradle plugin portal. I guess I'll tag 
> it with netbeans although it's only loosely related; any other suggestions 
> for publishing. Even if it's not used by others, it helps release an easily 
> buildable project :-)
> 
> -ernie
> 
> BTW. I'm currently doing
> 
>   buildscript {
>        dependencies {
>            classpath
>   files(rootDir.toPath().resolve('../namedservices-merge-1.0.0.jar'))
>        }
>   }
> 
>   apply plugin: 'com.raelity.namedservices-merge'
> 
> and I think (hope) that once it's in the gradle portal I can simply do
> 
>   id 'com.raelity.namedservices-merge'

Reply via email to