From 18521aaf821e244f298bddc7939964cb5bfead91 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Fri, 27 May 2022 17:48:25 +0800 Subject: [PATCH] debug raft --- build.gradle | 3 ++- src/main/java/org/bdware/server/action/TemporyTestAction.java | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index f56c20f..953c23e 100644 --- a/build.gradle +++ b/build.gradle @@ -114,7 +114,8 @@ task copyDynamicLibrary(type: Copy) { from './dynamicLibrary/' into './build/output/dynamicLibrary' } -task copyCustomPlugin(type: Copy) { + +task copyCustomPlugin(type: Copy, dependsOn: [":custom-plugin:jar"]) { from '../custom-plugin/build/libs/custom-plugin.jar' into "./build/output/libs/" } diff --git a/src/main/java/org/bdware/server/action/TemporyTestAction.java b/src/main/java/org/bdware/server/action/TemporyTestAction.java index 1a0c369..4781fb9 100644 --- a/src/main/java/org/bdware/server/action/TemporyTestAction.java +++ b/src/main/java/org/bdware/server/action/TemporyTestAction.java @@ -174,8 +174,6 @@ public class TemporyTestAction { jo.addProperty("action", "onAllocateKeyPair"); resultCallback.onResult(jo.toString()); } - - @Action(async = true) public void reconnectPort(JsonObject args, ResultCallback resultCallback) { ContractPort.PortVisitor reconnectVisitor = CMActions.manager.statusRecorder.getVisitor();