nieqiurong 6 anos atrás
pai
commit
a7699888fc
2 arquivos alterados com 4 adições e 8 exclusões
  1. 0 5
      build.gradle
  2. 4 3
      mybatis-plus-boot-starter/build.gradle

+ 0 - 5
build.gradle

@@ -62,11 +62,6 @@ ext {
         "velocity"                          : "org.apache.velocity:velocity-engine-core:2.0",
         "freemarker"                        : "org.freemarker:freemarker:2.3.9",
         "beetl"                             : "com.ibeetl:beetl:2.9.6",
-
-        // spring boot
-        "springboot-autoconfigure"          : "org.springframework.boot:spring-boot-autoconfigure:${springBootVersion}",
-        "springboot-configuration-processor": "org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}",
-        "springboot-starter-jdbc"           : "org.springframework.boot:spring-boot-starter-jdbc:${springBootVersion}",
     ]
 }
 

+ 4 - 3
mybatis-plus-boot-starter/build.gradle

@@ -1,6 +1,7 @@
 dependencies {
     api project(":mybatis-plus")
-    api rootProject.ext.dependencies["springboot-autoconfigure"]
-    api rootProject.ext.dependencies["springboot-starter-jdbc"]
-    implementation rootProject.ext.dependencies["springboot-configuration-processor"]
+    implementation(enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}" as String))
+    api 'org.springframework.boot:spring-boot-autoconfigure'
+    api 'org.springframework.boot:spring-boot-starter-jdbc'
+    implementation 'org.springframework.boot:spring-boot-configuration-processor'
 }