File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
src/main/java/run/halo/starter Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ repositories {
1616}
1717
1818dependencies {
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+ }
Original file line number Diff line number Diff line change 11package run .halo .starter ;
22
3- import org .pf4j .PluginWrapper ;
43import org .springframework .stereotype .Component ;
54import 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>
1515@ Component
1616public 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
You can’t perform that action at this time.
0 commit comments