Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codelessConfig 配置必须要把本地的仓库发布到远端吗 #28

Open
nydzzqq opened this issue Feb 23, 2023 · 1 comment
Open

Comments

@nydzzqq
Copy link

nydzzqq commented Feb 23, 2023

本地添加codelessConfig配置后报错
class InjectPluginImpl implements Plugin {
@OverRide
void apply(Project project) {
println "myPlugin here"
project.extensions.create('codelessConfig', InjectPluginParams)
registerTransform(project)
initDir(project);
。。。。

groovy.lang.MissingPropertyException: No such property: InjectPluginParams for class: com.ant.statisticplugin.InjectPluginImpl
at com.ant.statisticplugin.InjectPluginImpl.apply(InjectPluginImpl.groovy:14)
at com.ant.statisticplugin.InjectPluginImpl.apply(InjectPluginImpl.groovy)

@nailperry-zd
Copy link
Owner

不一定要发布到远程,但是好像引入插件的方式是不同的,引入本地插件,需要注明完整插件包名+类名

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants