build.gradle.kts 868 B

1234567891011121314151617
  1. val springBootVersion = "2.1.2.RELEASE"
  2. dependencies {
  3. api(project(":mybatis-plus"))
  4. implementation(enforcedPlatform("org.springframework.boot:spring-boot-dependencies:$springBootVersion"))
  5. annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:$springBootVersion")
  6. annotationProcessor("org.springframework.boot:spring-boot-autoconfigure-processor:$springBootVersion")
  7. api("org.springframework.boot:spring-boot-autoconfigure")
  8. api("org.springframework.boot:spring-boot-starter-jdbc")
  9. implementation("org.springframework.boot:spring-boot-configuration-processor")
  10. implementation("org.springframework.boot:spring-boot-autoconfigure-processor")
  11. testImplementation("org.springframework.boot:spring-boot-starter-test")
  12. }
  13. tasks.withType<JavaCompile> {
  14. dependsOn(tasks.withType(ProcessResources::class))
  15. }