ext{ springBootVersion = "2.1.2.RELEASE" } dependencies { api project(":mybatis-plus") implementation(enforcedPlatform("org.springframework.boot:spring-boot-dependencies:${springBootVersion}" as String)) annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:${springBootVersion}" annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor:${springBootVersion}" api 'org.springframework.boot:spring-boot-autoconfigure' api 'org.springframework.boot:spring-boot-starter-jdbc' implementation 'org.springframework.boot:spring-boot-configuration-processor' implementation 'org.springframework.boot:spring-boot-autoconfigure-processor' } compileJava.dependsOn(processResources)