build.gradle 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. plugins {
  2. id 'org.springframework.boot' version '2.7.0'
  3. id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  4. id 'java'
  5. }
  6. group = 'com'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '1.8'
  9. configurations {
  10. compileOnly {
  11. extendsFrom annotationProcessor
  12. }
  13. }
  14. repositories {
  15. mavenCentral()
  16. }
  17. dependencies {
  18. implementation 'org.springframework.boot:spring-boot-starter-jdbc'
  19. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  20. implementation 'org.springframework.boot:spring-boot-starter-web'
  21. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4'
  22. implementation 'com.auth0:java-jwt:3.4.0'
  23. implementation 'junit:junit:4.12'
  24. compileOnly 'org.projectlombok:lombok'
  25. implementation 'com.alibaba:fastjson:1.2.76'
  26. implementation 'cn.hutool:hutool-all:5.6.5'
  27. implementation 'cn.hutool:hutool-core:5.6.5'
  28. implementation 'com.aliyun:aliyun-java-sdk-core:4.5.13'
  29. implementation 'com.aliyun.oss:aliyun-sdk-oss:3.10.2'
  30. implementation 'com.microsoft.sqlserver:mssql-jdbc:7.4.1.jre8'
  31. implementation 'org.springframework.boot:spring-boot-starter-aop'
  32. implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.5.4'
  33. implementation 'ws.schild:jave-core:3.1.1'
  34. implementation 'ws.schild:jave-nativebin-win64:3.1.1'
  35. implementation 'commons-fileupload:commons-fileupload:1.3.2'
  36. // implementation 'com.github.wechatpay-apiv3:wechatpay-apache-httpclient:0.3.0'//微信支付
  37. // implementation 'org.apache.httpcomponents:httpclient:4.3.2' //post get请求包
  38. implementation 'com.baidubce:api-explorer-sdk:1.0.3.1'//百度翻译
  39. implementation 'com.alipay.sdk:alipay-sdk-java:4.22.57.ALL'
  40. implementation fileTree(dir:'lib',includes:['*jar'])
  41. annotationProcessor 'org.projectlombok:lombok'
  42. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  43. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  44. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  45. }
  46. }
  47. tasks.named('test') {
  48. useJUnitPlatform()
  49. }