Allow ServiceFileTransformer to have its path be configurable #72

aalmiray opened this Issue Jul 16, 2014 · 0 comments


None yet
2 participants

aalmiray commented Jul 16, 2014

Currently the path 'META-INF/services' is hard-coded and private. The only way to configure a similar transformer while targeting a different path is to subclass the transformer (like so

It would be better if ServiceFileTransformer allowed its path to be configurable, like this

shadowJar {
    transform(ServiceFileTransformer) {
        path = 'META-INF/griffon'

The current path value would be used as default though, so no additional configuration should be made if the standard location is the target path.

@johnrengelman johnrengelman added this to the 1.0.3 milestone Jul 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment