build.gradle 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'org.springframework.boot' version '2.7.5'
  3. id 'io.spring.dependency-management' version '1.0.15.RELEASE'
  4. id 'java'
  5. }
  6. group = 'com'
  7. sourceCompatibility = '1.8'
  8. repositories {
  9. mavenCentral()
  10. }
  11. dependencies {
  12. implementation 'org.springframework.boot:spring-boot-starter-jdbc'
  13. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  14. implementation 'org.springframework.boot:spring-boot-starter-web'
  15. implementation 'com.baomidou:mybatis-plus-boot-starter:3.5.2'
  16. implementation 'com.baomidou:mybatis-plus-generator:3.1.0'
  17. implementation 'com.baomidou:dynamic-datasource-spring-boot-starter:3.4.1'
  18. implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.4.1'
  19. compileOnly 'org.projectlombok:lombok'
  20. implementation 'com.auth0:java-jwt:3.4.0'
  21. implementation 'mysql:mysql-connector-java:8.0.29'
  22. implementation 'com.microsoft.sqlserver:mssql-jdbc:7.4.1.jre8'
  23. implementation 'com.alibaba:fastjson:1.2.76'
  24. implementation 'cn.hutool:hutool-captcha:5.8.5'
  25. implementation 'org.springframework.boot:spring-boot-starter-aop'
  26. implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.5.4'
  27. implementation fileTree(dir:'lib',includes:['*jar'])
  28. annotationProcessor 'org.projectlombok:lombok'
  29. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  30. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  31. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  32. }
  33. }
  34. tasks.named('test') {
  35. useJUnitPlatform()
  36. }