build.gradle 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. //接口调用
  32. implementation 'org.apache.httpcomponents:httpclient:4.5.2'
  33. implementation 'org.iherus:qrext4j:1.3.0'
  34. implementation 'cn.afterturn:easypoi-base:4.0.0'
  35. implementation 'cn.afterturn:easypoi-web:4.0.0'
  36. implementation 'cn.afterturn:easypoi-annotation:4.0.0'
  37. // implementation 'com.google.zxing:core:3.5.1'
  38. // implementation 'com.google.zxing:javase:3.5.1'
  39. //打印
  40. // implementation 'com.jacob:jacob:1.10'
  41. //excel导入导出
  42. implementation 'org.apache.poi:poi-ooxml:4.0.0'
  43. //redisson锁
  44. implementation 'org.redisson:redisson:3.16.8'
  45. implementation fileTree(dir:'lib',includes:['*jar'])
  46. annotationProcessor 'org.projectlombok:lombok'
  47. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  48. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  49. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  50. }
  51. }
  52. dependencyManagement {
  53. imports {
  54. mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  55. }
  56. }
  57. test {
  58. useJUnitPlatform()
  59. }