Custom Gradle Plugin as Standalone project
Ғылым және технология
In stead of placing your gradle plugins in the buildSrc folder or directly in the build.gradle file then you have the option to place it it a standalone project. This gives the option to use the same plugin between multiple plugin consumer projects!
Enjoy! :-)
Feel free to leave a comment or question.
The code is located here:
github.com/ekim197711/demo-st...
github.com/ekim197711/demo-gr...
Follow me on twitter:
/ mikemoelnielsen
Пікірлер: 11
This is one of the best resources on the internet for learning about standalone plugins. Thanks man!
@MikesTechCorner
4 жыл бұрын
Thank you very much. :-)
was struggling looking at the official documentation here is a nice explanation
@MikesTechCorner
11 ай бұрын
Thank you for watching and giving me feedback. :)
Hats off for an easy to reproduce, and minimalist example. Would love it if you could follow up with some common use cases, such as pushing artifacts to a remote database or something a bit more complex that most people probably could benefit from!
@MikesTechCorner
Жыл бұрын
Good suggestion. Thank you for watching
Has anyone experienced that when exporting the plugin to a local repository the gradle.plugin container is not created but it is when exporting it to mavenLocal?
@MikesTechCorner
Жыл бұрын
No I haven't seen that.
Thanks for your tutorial For me it works such way pluginManagement { repositories { maven { mavenCentral() url = '...' } } } Because Gradle could not find org.codehaus in repo (url)
@MikesTechCorner
2 жыл бұрын
Thanks for sharing!
@carlosmspk
Жыл бұрын
That's odd, it worked for me...