Prechádzať zdrojové kódy

修复pom描述错误.

nieqiurong 6 rokov pred
rodič
commit
44c09279ed

+ 1 - 4
build.gradle

@@ -4,8 +4,7 @@ buildscript {
         maven { url "https://plugins.gradle.org/m2/" }
     }
     dependencies {
-        classpath("org.springframework.build.gradle:propdeps-plugin:0.0.7")
-        classpath("com.netflix.nebula:gradle-extra-configurations-plugin:4.0.1")
+        classpath("io.spring.gradle:propdeps-plugin:0.0.9.RELEASE")
         classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.10")
     }
 }
@@ -88,8 +87,6 @@ subprojects {
 
     apply plugin: 'java'
     apply plugin: 'signing'
-    apply plugin: 'nebula.optional-base'
-
     sourceCompatibility = "${javaVersion}"
     targetCompatibility = "${javaVersion}"
 

+ 1 - 1
mybatis-plus-boot-starter/build.gradle

@@ -2,5 +2,5 @@ dependencies {
     compile project(":mybatis-plus")
     compile rootProject.ext.dependencies["springboot-autoconfigure"]
     compile rootProject.ext.dependencies["springboot-starter-jdbc"]
-    compile rootProject.ext.dependencies["springboot-configuration-processor"], optional
+    optional rootProject.ext.dependencies["springboot-configuration-processor"]
 }

+ 2 - 2
mybatis-plus-generator/build.gradle

@@ -1,8 +1,8 @@
 dependencies {
     compile project(":mybatis-plus-extension")
 
-    compile rootProject.ext.dependencies["velocity"], optional
-    compile rootProject.ext.dependencies["freemarker"], optional
+    optional rootProject.ext.dependencies["velocity"]
+    optional rootProject.ext.dependencies["freemarker"]
 
     testCompile rootProject.ext.dependencies["sqlserver"]
     testCompile rootProject.ext.dependencies["postgresql"]

+ 4 - 0
mybatis-plus/build.gradle

@@ -5,6 +5,10 @@ dependencies {
     testCompile rootProject.ext.dependencies["spring-web"]
     testCompile rootProject.ext.dependencies["javax.servlet-api"]
 
+    testCompile rootProject.ext.dependencies["spring-aop"]
+    testCompile rootProject.ext.dependencies["spring-context-support"]
+    testCompile rootProject.ext.dependencies["spring-tx"]
+    testCompile rootProject.ext.dependencies["spring-jdbc"]
     testCompile rootProject.ext.dependencies["spring-test"]
     testCompile rootProject.ext.dependencies["fastjson"]