Browse Source

fix bug: 去掉netfix依赖后查询物理世界服务报错

lijie 2 years ago
parent
commit
87b28e161a
3 changed files with 6 additions and 3 deletions
  1. 2 1
      labsl/build.gradle
  2. 2 1
      meiku/build.gradle
  3. 2 1
      message-center/build.gradle

+ 2 - 1
labsl/build.gradle

@@ -49,7 +49,8 @@ dependencies {
 
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     // spring cloud 依赖
-    // compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version:  SPRING_CLOUD_CONFIG_VERSION
+    compile(group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version:  SPRING_CLOUD_CONFIG_VERSION){exclude group: 'com.thoughtworks.xstream',module:'xstream'}
+    compile(group: 'com.thoughtworks.xstream', name: 'xstream', version:  XSTREAM_VERSION)
 
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 

+ 2 - 1
meiku/build.gradle

@@ -102,7 +102,8 @@ dependencies {
     compile group: "org.projectlombok", name: "lombok", version: LOMBOK_VERSION
     compile group: 'org.apache.skywalking', name: 'apm-toolkit-logback-1.x', version: APM_SKYWALKING_VERSION
     // spring cloud 依赖
-    // compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version:  SPRING_CLOUD_CONFIG_VERSION
+    compile(group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version:  SPRING_CLOUD_CONFIG_VERSION){exclude group: 'com.thoughtworks.xstream',module:'xstream'}
+    compile(group: 'com.thoughtworks.xstream', name: 'xstream', version:  XSTREAM_VERSION)
 
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 //    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

+ 2 - 1
message-center/build.gradle

@@ -108,7 +108,8 @@ dependencies {
     compile group: "com.persagy", name: "dmp-digital-starter", version: DIGITAL_START_VERSION
     compile group: 'org.apache.skywalking', name: 'apm-toolkit-logback-1.x', version: APM_SKYWALKING_VERSION
     // spring cloud 依赖
-    // compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version:  SPRING_CLOUD_CONFIG_VERSION
+    compile(group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version:  SPRING_CLOUD_CONFIG_VERSION){exclude group: 'com.thoughtworks.xstream',module:'xstream'}
+    compile(group: 'com.thoughtworks.xstream', name: 'xstream', version:  XSTREAM_VERSION)
 
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     // 数据中心依赖