Skip to content

Commit

Permalink
chore: update project infra config (#24)
Browse files Browse the repository at this point in the history
### What this PR does?
更新项目配置

```release-note
None
```
  • Loading branch information
guqing authored Jan 30, 2024
1 parent 1182e94 commit 6f7d936
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {
}

dependencies {
implementation platform('run.halo.tools.platform:plugin:2.6.0-SNAPSHOT')
implementation platform('run.halo.tools.platform:plugin:2.11.0-SNAPSHOT')
compileOnly 'run.halo.app:api'

testImplementation 'run.halo.app:api'
Expand All @@ -43,3 +43,7 @@ build {
// build frontend before build
tasks.getByName('compileJava').dependsOn('buildFrontend')
}

halo {
version = '2.11'
}
6 changes: 3 additions & 3 deletions src/main/java/run/halo/starter/StarterPlugin.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package run.halo.starter;

import org.pf4j.PluginWrapper;
import org.springframework.stereotype.Component;
import run.halo.app.plugin.BasePlugin;
import run.halo.app.plugin.PluginContext;

/**
* <p>Plugin main class to manage the lifecycle of the plugin.</p>
Expand All @@ -15,8 +15,8 @@
@Component
public class StarterPlugin extends BasePlugin {

public StarterPlugin(PluginWrapper wrapper) {
super(wrapper);
public StarterPlugin(PluginContext pluginContext) {
super(pluginContext);
}

@Override
Expand Down

0 comments on commit 6f7d936

Please sign in to comment.