mirror of
https://gitee.com/BDWare/cp.git
synced 2025-01-10 01:44:08 +00:00
fix doip local singleton
This commit is contained in:
parent
35e39f3dd9
commit
8ffaa3f535
@ -51,7 +51,7 @@ 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.6'
|
||||
implementation 'org.bdware.doip:doip-audit-tool:1.3.7'
|
||||
implementation 'org.bdware.doip:doip-sdk:1.4.9'
|
||||
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)
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ public class DOIPUtil {
|
||||
if (msg != null) {
|
||||
return msg;
|
||||
} else
|
||||
return DoipMessageFactory.createTimeoutResponse(message.requestID);
|
||||
return DoipMessageFactory.createTimeoutResponse(message.requestID, "timeout");
|
||||
} catch (Exception ie) {
|
||||
ie.printStackTrace();
|
||||
return DoipMessageFactory.createConnectFailedResponse(message.requestID);
|
||||
|
Loading…
Reference in New Issue
Block a user