Sfoglia il codice sorgente

测试依赖修改.

聂秋荣 7 anni fa
parent
commit
8d9a415236
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 0 1
      build.gradle
  2. 4 3
      mybatis-plus-core/build.gradle

+ 0 - 1
build.gradle

@@ -16,7 +16,6 @@ ext {
             "velocity":"org.apache.velocity:velocity-engine-core:2.0",
             "slf4j-api":"org.slf4j:slf4j-api:1.7.25",
             "junit":"junit:junit:4.12",
-            "commons-pool2":"org.apache.commons:commons-pool2:2.4.2",
             "commons-dbcp2":"org.apache.commons:commons-dbcp2:2.1.1",
             "mybatis-ehcache":"org.mybatis.caches:mybatis-ehcache:1.1.0",
             "logback-classic":"ch.qos.logback:logback-classic:1.2.2",

+ 4 - 3
mybatis-plus-core/build.gradle

@@ -9,12 +9,13 @@ dependencies {
     compile rootProject.ext.dependencies["mybatis"]
     compileOnly common
     testCompile common
-    testCompileOnly rootProject.ext.dependencies["servlet-api"]
+    testCompile rootProject.ext.dependencies["servlet-api"]
     testCompile rootProject.ext.dependencies["mybatis-ehcache"]
     testCompile rootProject.ext.dependencies["logback-classic"]
     testCompile rootProject.ext.dependencies["junit"]
-    testCompile rootProject.ext.dependencies["commons-dbcp2"]
-    testCompile rootProject.ext.dependencies["commons-pool2"]
+    testCompile (rootProject.ext.dependencies["commons-dbcp2"]){
+        exclude module: "commons-logging"
+    }
     testCompile rootProject.ext.dependencies["sqlserver"]
     testCompile rootProject.ext.dependencies["postgresql"]
     testCompile rootProject.ext.dependencies["oracle"]