按照教程新建了一个module
并且标记了注解:
@PluginConfig("bytex.nangua")
public class NanguaPlugin extends CommonPlugin<NanguaExtension, NanguaContext> {
然后编译,再uploadArchives
但是在plugin-bytex.gradle中使用的时候apply plugin: 'bytex.nangua'
报错了:
Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'bytex.nangua' not found.
按照教程新建了一个module 并且标记了注解: @PluginConfig("bytex.nangua") public class NanguaPlugin extends CommonPlugin<NanguaExtension, NanguaContext> { 然后编译,再uploadArchives 但是在plugin-bytex.gradle中使用的时候apply plugin: 'bytex.nangua' 报错了: Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'bytex.nangua' not found.