build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. implementation 'junit:junit:4.12'
  25. compileOnly 'org.projectlombok:lombok'
  26. implementation 'com.alibaba:fastjson:1.2.76'
  27. implementation 'cn.hutool:hutool-all:5.6.5'
  28. implementation 'cn.hutool:hutool-core:5.6.5'
  29. implementation 'com.aliyun:aliyun-java-sdk-core:4.5.13'
  30. implementation 'com.aliyun.oss:aliyun-sdk-oss:3.10.2'
  31. implementation 'com.microsoft.sqlserver:mssql-jdbc:7.4.1.jre8'
  32. implementation 'com.github.wxpay:wxpay-sdk:0.0.3'
  33. implementation 'org.apache.httpcomponents:httpclient:4.3.2' //post get请求包
  34. // implementation 'com.github.binarywang:wx-java-pay-spring-boot-starter:4.1.0' //app微信支付
  35. implementation fileTree(dir:'lib',includes:['*jar'])
  36. annotationProcessor 'org.projectlombok:lombok'
  37. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  38. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  39. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  40. }
  41. }
  42. tasks.named('test') {
  43. useJUnitPlatform()
  44. }