build.gradle 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.0.2'
  4. id 'io.spring.dependency-management' version '1.1.0'
  5. }
  6. group = 'com.hichina.main.back'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '17'
  9. repositories {
  10. maven { url "https://maven.aliyun.com/repository/public" }
  11. }
  12. dependencies {
  13. implementation 'org.springframework.boot:spring-boot-starter-web'
  14. implementation 'org.springframework.boot:spring-boot-starter-security'
  15. implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
  16. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis
  17. implementation 'org.springframework.boot:spring-boot-starter-data-redis:3.0.0'
  18. implementation 'org.projectlombok:lombok:1.18.20'
  19. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  20. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security
  21. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  22. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  23. // https://mvnrepository.com/artifact/com.mysql/mysql-connector-j
  24. implementation 'com.mysql:mysql-connector-j:8.0.32'
  25. // https://mvnrepository.com/artifact/org.apache.commons/commons-pool2
  26. implementation 'org.apache.commons:commons-pool2:2.11.1'
  27. // https://mvnrepository.com/artifact/org.projectlombok/lombok
  28. compileOnly 'org.projectlombok:lombok:1.18.26'
  29. annotationProcessor 'org.projectlombok:lombok:1.18.26'
  30. testCompileOnly 'org.projectlombok:lombok:1.18.26'
  31. testAnnotationProcessor 'org.projectlombok:lombok:1.18.26'
  32. // https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter
  33. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.1'
  34. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
  35. implementation 'org.springframework.boot:spring-boot-starter-validation:3.0.2'
  36. implementation 'com.aliyun.oss:aliyun-sdk-oss:3.16.1'
  37. // https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-core
  38. implementation 'com.aliyun:aliyun-java-sdk-core:4.6.3'
  39. // https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-dysmsapi
  40. implementation 'com.aliyun:aliyun-java-sdk-dysmsapi:2.2.1'
  41. // https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-sts
  42. implementation 'com.aliyun:aliyun-java-sdk-sts:3.1.0'
  43. // https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter
  44. implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.4.6'
  45. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-logging
  46. implementation 'org.springframework.boot:spring-boot-starter-logging:3.0.3'
  47. // https://mvnrepository.com/artifact/com.optimaize.languagedetector/language-detector
  48. implementation 'com.optimaize.languagedetector:language-detector:0.6'
  49. // https://mvnrepository.com/artifact/com.google.code.gson/gson
  50. implementation 'com.google.code.gson:gson:2.10.1'
  51. // https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java
  52. implementation 'com.alipay.sdk:alipay-sdk-java:4.35.110.ALL'
  53. // https://mvnrepository.com/artifact/com.github.wechatpay-apiv3/wechatpay-java
  54. implementation 'com.github.wechatpay-apiv3:wechatpay-java:0.2.7'
  55. implementation 'com.github.wechatpay-apiv3:wechatpay-apache-httpclient:0.4.9'
  56. // https://mvnrepository.com/artifact/javax.mail/mail
  57. implementation 'javax.mail:mail:1.4.7'
  58. // https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2
  59. implementation 'com.alibaba.fastjson2:fastjson2:2.0.29'
  60. // https://mvnrepository.com/artifact/org.jsoup/jsoup
  61. implementation 'org.jsoup:jsoup:1.16.1'
  62. // https://mvnrepository.com/artifact/com.squareup.okhttp/okhttp
  63. implementation 'com.squareup.okhttp:okhttp:2.7.5'
  64. // https://mvnrepository.com/artifact/org.jsoup/jsoup
  65. implementation 'org.jsoup:jsoup:1.16.1'
  66. }
  67. tasks.named('test') {
  68. useJUnitPlatform()
  69. }