Skip to content

Commit 6f7d936

Browse files
authored
chore: update project infra config (#24)
### What this PR does? 更新项目配置 ```release-note None ```
1 parent 1182e94 commit 6f7d936

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repositories {
1616
}
1717

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

2222
testImplementation 'run.halo.app:api'
@@ -43,3 +43,7 @@ build {
4343
// build frontend before build
4444
tasks.getByName('compileJava').dependsOn('buildFrontend')
4545
}
46+
47+
halo {
48+
version = '2.11'
49+
}

src/main/java/run/halo/starter/StarterPlugin.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package run.halo.starter;
22

3-
import org.pf4j.PluginWrapper;
43
import org.springframework.stereotype.Component;
54
import run.halo.app.plugin.BasePlugin;
5+
import run.halo.app.plugin.PluginContext;
66

77
/**
88
* <p>Plugin main class to manage the lifecycle of the plugin.</p>
@@ -15,8 +15,8 @@
1515
@Component
1616
public class StarterPlugin extends BasePlugin {
1717

18-
public StarterPlugin(PluginWrapper wrapper) {
19-
super(wrapper);
18+
public StarterPlugin(PluginContext pluginContext) {
19+
super(pluginContext);
2020
}
2121

2222
@Override

0 commit comments

Comments
 (0)