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

  • @madhes23
    @madhes234 жыл бұрын

    This is one of the best resources on the internet for learning about standalone plugins. Thanks man!

  • @MikesTechCorner

    @MikesTechCorner

    4 жыл бұрын

    Thank you very much. :-)

  • @noboddy_knows
    @noboddy_knows11 ай бұрын

    was struggling looking at the official documentation here is a nice explanation

  • @MikesTechCorner

    @MikesTechCorner

    11 ай бұрын

    Thank you for watching and giving me feedback. :)

  • @carlosmspk
    @carlosmspk Жыл бұрын

    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

    @MikesTechCorner

    Жыл бұрын

    Good suggestion. Thank you for watching

  • @strok777
    @strok777 Жыл бұрын

    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

    @MikesTechCorner

    Жыл бұрын

    No I haven't seen that.

  • @aleksei4604
    @aleksei46042 жыл бұрын

    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

    @MikesTechCorner

    2 жыл бұрын

    Thanks for sharing!

  • @carlosmspk

    @carlosmspk

    Жыл бұрын

    That's odd, it worked for me...

Келесі