harbby / gradle-serviceloader

gradle java spi plugin, support scala, link https://github.com/delphyne/gradle-serviceloader-manifest
Apache License 2.0
9 stars 3 forks source link

Set the output directory #2

Closed igreenfield closed 3 years ago

igreenfield commented 6 years ago

How I can set the output directory?

harbby commented 6 years ago

Will be automatically output to the /META-INF/services/ directory

demo:

apply plugin: 'com.github.harbby.gradle.serviceloader'
serviceLoader {
    serviceInterface 'ideal.sylph.etl.PipelinePlugin'
}

write file /META-INF/services/ ideal.sylph.etl.PipelinePlugin

harbby commented 6 years ago

Will be automatically output to the /META-INF/services/ directory

demo:

apply plugin: 'com.github.harbby.gradle.serviceloader' serviceLoader { serviceInterface 'ideal.sylph.etl.PipelinePlugin' }

write file /META-INF/services/ ideal.sylph.etl.PipelinePlugin

Izek Greenfield notifications@github.com 于2018年10月21日周日 下午3:51写道:

How I can set the output directory?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/harbby/gradle-serviceloader/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5dS3VInknm4j4mbPE_DLDZ2v5gUXv6ks5unCeWgaJpZM4XyU8z .