Skip to content
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

Allow ServiceFileTransformer to have its path be configurable #72

Closed
aalmiray opened this issue Jul 16, 2014 · 0 comments
Closed

Allow ServiceFileTransformer to have its path be configurable #72

aalmiray opened this issue Jul 16, 2014 · 0 comments
Milestone

Comments

@aalmiray
Copy link
Contributor

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 https://github.com/griffon/griffon/blob/development/subprojects/gradle-griffon-plugin/src/main/groovy/org/codehaus/griffon/gradle/shadow/transformers/GriffonFileTransformer.groovy).

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.

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

No branches or pull requests

2 participants