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

Request to update plugin directly instead of reload #17

Open
JohnNiang opened this issue Jul 26, 2024 · 0 comments
Open

Request to update plugin directly instead of reload #17

JohnNiang opened this issue Jul 26, 2024 · 0 comments

Comments

@JohnNiang
Copy link

开发插件的时候,我可能更喜欢使用已有的 Halo 测试环境。这个时候我更新插件的策略是:

  1. 执行 ./gradlew build 构建插件
  2. 在 Halo 侧更新(或安装)该插件

第 2 步操作稍嫌麻烦。如果当前 Gradle 插件能够提供一个任务,如:updatePlugin,可能会大大简化我更新插件的流程。

同时,我们也可以在 build.gradle 中通过以下配置来对不同的 Halo 实例做更新插件操作:

halo {
  remote {
    url = 'http://localhost:8090'
    username = 'admin'
    password = 'openadmin'
  }
}
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

1 participant