This repository contains the source code for the “Hello World” Gradle plugin.

This plugin is used for the automated tests of the Gradle plugin infrastructure.

参考: 源码:https://github.com/gradle/gradle-hello-world-plugin 使用说明:https://plugins.gradle.org/plugin/org.gradle.hello-world https://blog.csdn.net/liuqinhou/article/details/127797395

插件发布到本地

右侧 gradle build 接着 publishing/publish

gradle publishToMavenLocal

使用该插件的项目如何使用本地maven仓库 https://betheme.net/news/txtlist_i77231v.html?action=onClick

plugin例子及源码 https://blog.csdn.net/liuqinhou/article/details/127797395 https://github.com/wangli135/GradlePluginTemplate

使用该插件的源码 https://github.com/zhaoyansheng163/springboot_gradle_demo 分支:gradle_plugin