Join Slack
Powered by
Any gradle plugin devs know if there is a way to g...
# gradle
h
hmole
04/07/2019, 12:49 PM
Any gradle plugin devs know if there is a way to generate plugin descriptors with some kind of annotation on the plugin?
gradlePlugin
dsl forces you to write same thing twice
g
gildor
04/07/2019, 1:04 PM
Why twice? Isn't you need id only in gradlePlugin? Plugin meta-inf will be generated automatically
h
hmole
04/07/2019, 3:09 PM
1. Declare class in your sources 2. Reference full class name in build script(without any validation) Would be nice to have annotations like google
AutoService
g
gildor
04/07/2019, 4:00 PM
Ah, class name, yeah, you right
gildor
04/07/2019, 4:01 PM
Agree, probably make sense to create a feature request
h
hmole
04/08/2019, 5:14 AM
https://github.com/gradle/gradle/issues/8965
👍 1
4
Views
Open in Slack
Previous
Next