Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies {
exclude group: 'org.apache.commons', module: 'commons-lang3'
}

implementation platform('run.halo.tools.platform:plugin:2.9.0-SNAPSHOT')
implementation platform('run.halo.tools.platform:plugin:2.10.0-SNAPSHOT')
compileOnly 'run.halo.app:api'

testImplementation 'run.halo.app:api'
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/run/halo/feed/FeedPlugin.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package run.halo.feed;

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

@Component
public class FeedPlugin extends BasePlugin {

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

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
spec:
enabled: true
version: 1.1.1
requires: ">=2.7.0"
requires: ">=2.10.0"
author:
name: Halo
website: https://github.com/halo-dev
Expand Down