소스 검색

修改compileOnly为optional

nieqiurong@163.com 7 년 전
부모
커밋
76ffceb6fb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"]
 }