val springBootVersion = "2.1.2.RELEASE" dependencies { api(project(":mybatis-plus")) implementation(enforcedPlatform("org.springframework.boot:spring-boot-dependencies:$springBootVersion")) 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") testImplementation("org.springframework.boot:spring-boot-starter-test") } tasks.withType { dependsOn(tasks.withType(ProcessResources::class)) }