From 78d068d39baa7ca8708581f35ece882906f0a568 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Mon, 19 Jun 2023 16:41:37 +0800 Subject: [PATCH] update version keep sync --- build.gradle | 10 +++++----- .../bdware/sc/engine/hook/DOOPAfterExecHandler.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 6220493..d6b64e3 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { apply from: '../spotless.gradle' group = "org.bdware.sc" -version = "1.9.1" +version = "1.9.2" tasks.withType(JavaCompile) { // options.compilerArgs << '-Xlint:none' // options.compilerArgs << '-Xlint:deprecation' << "-Werror" @@ -51,8 +51,8 @@ dependencies { implementation 'com.sun.mail:javax.mail:1.6.2' implementation 'com.squareup.okhttp3:okhttp:4.9.1' implementation 'org.bdware.bdcontract:sdk-java:1.0.2' - implementation 'org.bdware.doip:doip-audit-tool:1.3.0' - implementation 'org.bdware.doip:doip-sdk:1.4.4' + implementation 'org.bdware.doip:doip-audit-tool:1.3.2' + implementation 'org.bdware.doip:doip-sdk:1.4.6' implementation fileTree(dir: 'lib', include: '*.jar') testImplementation 'junit:junit:4.13.2' } @@ -70,8 +70,8 @@ jar { // uncomment this when publish, // while develop at local use "false" configurations.runtimeClasspath.filter { - // it.getAbsolutePath().contains("/lib/") - false + it.getAbsolutePath().contains("/lib/") + // false }.collect { it.isDirectory() ? it : zipTree(it) } diff --git a/src/main/java/org/bdware/sc/engine/hook/DOOPAfterExecHandler.java b/src/main/java/org/bdware/sc/engine/hook/DOOPAfterExecHandler.java index 540013a..124171a 100644 --- a/src/main/java/org/bdware/sc/engine/hook/DOOPAfterExecHandler.java +++ b/src/main/java/org/bdware/sc/engine/hook/DOOPAfterExecHandler.java @@ -44,7 +44,7 @@ public class DOOPAfterExecHandler implements AnnotationHook { if (!(argPacks.ret instanceof DoipMessage)) { JsonObject jsonObjectRes = ((JsonElement) argPacks.ret).getAsJsonObject(); if (!jsonObjectRes.has("bodyBase64Encoded") - || jsonObjectRes.get("bodyBase64Encoded").getAsBoolean() == false) { + || jsonObjectRes.get("bodyBase64Encoded").getAsBoolean() == true) { if (jsonObjectRes.has("body")) { String body = jsonObjectRes.get("body").getAsString(); jsonObjectRes.addProperty("body",