Skip to content

Commit 94f0978

Browse files
authored
fix: run issue (#347)
1 parent 8f58e19 commit 94f0978

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

server/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ dependencies {
6363

6464
// 针对插件RestTemplate的支持
6565
implementation 'org.apache.httpcomponents.client5:httpclient5:5.2.1'
66+
implementation 'org.json:json:20230227'
6667

6768
developmentOnly 'org.springframework.boot:spring-boot-devtools'
6869

server/src/main/java/run/ikaros/server/plugin/listener/PluginDatabaseUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
import java.util.Map;
66
import java.util.Objects;
77
import lombok.extern.slf4j.Slf4j;
8+
import org.json.JSONArray;
9+
import org.json.JSONException;
10+
import org.json.JSONObject;
811
import org.pf4j.PluginDependency;
912
import org.pf4j.PluginDescriptor;
1013
import org.pf4j.PluginWrapper;
11-
import org.springframework.boot.configurationprocessor.json.JSONArray;
12-
import org.springframework.boot.configurationprocessor.json.JSONException;
13-
import org.springframework.boot.configurationprocessor.json.JSONObject;
1414
import org.springframework.util.Assert;
1515
import reactor.core.publisher.Mono;
1616
import reactor.core.scheduler.Schedulers;

0 commit comments

Comments
 (0)