build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930
  1. java {
  2. sourceCompatibility = JavaVersion.VERSION_17
  3. targetCompatibility = JavaVersion.VERSION_17
  4. // toolchain {
  5. // languageVersion.set(JavaLanguageVersion.of(17))
  6. // }
  7. }
  8. dependencies {
  9. api project(":mybatis-plus")
  10. api "${lib."mybatis-spring3"}"
  11. api project(":spring-boot-starter:mybatis-plus-spring-boot-autoconfigure")
  12. implementation platform("org.springframework.boot:spring-boot-dependencies:${springBoot3Version}")
  13. annotationProcessor "org.springframework.boot:spring-boot-autoconfigure-processor:${springBoot3Version}"
  14. annotationProcessor "org.springframework.boot:spring-boot-configuration-processor:${springBoot3Version}"
  15. api "org.springframework.boot:spring-boot-autoconfigure"
  16. api "org.springframework.boot:spring-boot-starter-jdbc"
  17. implementation "org.springframework.boot:spring-boot-configuration-processor"
  18. implementation "org.springframework.boot:spring-boot-autoconfigure-processor"
  19. implementation "${lib['mybatis-thymeleaf']}"
  20. implementation "${lib.'mybatis-velocity'}"
  21. implementation "${lib.'mybatis-freemarker'}"
  22. implementation "${lib.'spring-cloud-commons'}"
  23. testImplementation "org.springframework.boot:spring-boot-starter-test"
  24. testImplementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.2"
  25. testImplementation "${lib.h2}"
  26. }
  27. compileJava.dependsOn(processResources)