build.gradle 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. maven { url 'https://repo.spring.io/milestone' }
  11. }
  12. ext {
  13. set('springCloudVersion', "2020.0.0-M5")
  14. }
  15. dependencies {
  16. implementation 'org.springframework.boot:spring-boot-starter-jdbc'
  17. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  18. implementation 'org.springframework.boot:spring-boot-starter-web'
  19. implementation 'com.baomidou:mybatis-plus-boot-starter:3.5.2'
  20. implementation 'com.baomidou:mybatis-plus-generator:3.1.0'
  21. implementation 'com.baomidou:dynamic-datasource-spring-boot-starter:3.4.1'
  22. implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.4.1'
  23. compileOnly 'org.projectlombok:lombok'
  24. implementation 'com.auth0:java-jwt:3.4.0'
  25. implementation 'mysql:mysql-connector-java:8.0.31'
  26. implementation 'com.microsoft.sqlserver:mssql-jdbc:7.4.1.jre8'
  27. implementation 'com.alibaba:fastjson:1.2.76'
  28. implementation 'cn.hutool:hutool-captcha:5.8.5'
  29. implementation 'org.springframework.boot:spring-boot-starter-aop'
  30. implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.5.4'
  31. implementation 'com.google.zxing:core:3.5.1'
  32. implementation 'com.google.zxing:javase:3.5.1'
  33. implementation 'org.iherus:qrext4j:1.3.1'
  34. // implementation 'cn.afterturn:easypoi-base:4.4.0'
  35. // implementation 'cn.afterturn:easypoi-web:4.4.0'
  36. // implementation 'cn.afterturn:easypoi-annotation:4.4.0'
  37. //excel导入导出
  38. implementation 'org.apache.poi:poi-ooxml:3.16'
  39. //接口调用
  40. implementation 'org.apache.httpcomponents:httpclient:4.5.2'
  41. //redisson锁
  42. implementation 'org.redisson:redisson:3.16.8'
  43. implementation fileTree(dir:'lib',includes:['*jar'])
  44. annotationProcessor 'org.projectlombok:lombok'
  45. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  46. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  47. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  48. }
  49. }
  50. dependencyManagement {
  51. imports {
  52. mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  53. }
  54. }
  55. test {
  56. useJUnitPlatform()
  57. }