diff --git a/ComponentPlugin/build.gradle b/ComponentPlugin/build.gradle index cef81e5f..59a0caac 100644 --- a/ComponentPlugin/build.gradle +++ b/ComponentPlugin/build.gradle @@ -30,7 +30,14 @@ version = "${versions.component_plugin_upload_version}" ] } }*/ - +gradlePlugin { + plugins { + component { + id = 'com.xiaojinzi.component.plugin' + implementationClass = 'com.xiaojinzi.component.plugin.ComponentPlugin' + } + } +} dependencies { implementation gradleApi() implementation localGroovy() diff --git a/ComponentPlugin/src/main/resources/META-INF/gradle-plugins/com.xiaojinzi.component.plugin.properties b/ComponentPlugin/src/main/resources/META-INF/gradle-plugins/com.xiaojinzi.component.plugin.properties deleted file mode 100644 index 4c457711..00000000 --- a/ComponentPlugin/src/main/resources/META-INF/gradle-plugins/com.xiaojinzi.component.plugin.properties +++ /dev/null @@ -1 +0,0 @@ -implementation-class=com.xiaojinzi.component.plugin.ComponentPlugin \ No newline at end of file