Explorar el Código

修改compileOnly为optional

nieqiurong@163.com hace 7 años
padre
commit
76ffceb6fb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mybatis-plus-boot-starter/build.gradle

+ 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"]
-    compileOnly rootProject.ext.dependencies["springboot-configuration-processor"]
+    optional rootProject.ext.dependencies["springboot-configuration-processor"]
 }