build.gradle 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security
  20. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  21. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  22. // https://mvnrepository.com/artifact/com.mysql/mysql-connector-j
  23. implementation 'com.mysql:mysql-connector-j:8.0.32'
  24. // https://mvnrepository.com/artifact/org.apache.commons/commons-pool2
  25. implementation 'org.apache.commons:commons-pool2:2.11.1'
  26. // https://mvnrepository.com/artifact/org.projectlombok/lombok
  27. compileOnly 'org.projectlombok:lombok:1.18.26'
  28. annotationProcessor 'org.projectlombok:lombok:1.18.26'
  29. testCompileOnly 'org.projectlombok:lombok:1.18.26'
  30. testAnnotationProcessor 'org.projectlombok:lombok:1.18.26'
  31. // https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter
  32. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.1'
  33. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
  34. implementation 'org.springframework.boot:spring-boot-starter-validation:3.0.2'
  35. implementation 'com.aliyun.oss:aliyun-sdk-oss:3.16.1'
  36. // https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-core
  37. implementation 'com.aliyun:aliyun-java-sdk-core:4.6.3'
  38. // https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-dysmsapi
  39. implementation 'com.aliyun:aliyun-java-sdk-dysmsapi:2.2.1'
  40. // https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-sts
  41. implementation 'com.aliyun:aliyun-java-sdk-sts:3.1.0'
  42. // https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter
  43. implementation 'com.github.pagehelper:pagehelper-spring-boot-starter:1.4.6'
  44. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-logging
  45. implementation 'org.springframework.boot:spring-boot-starter-logging:3.0.3'
  46. // https://mvnrepository.com/artifact/com.optimaize.languagedetector/language-detector
  47. implementation 'com.optimaize.languagedetector:language-detector:0.6'
  48. // https://mvnrepository.com/artifact/com.google.code.gson/gson
  49. implementation 'com.google.code.gson:gson:2.10.1'
  50. // https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java
  51. implementation 'com.alipay.sdk:alipay-sdk-java:4.35.110.ALL'
  52. // https://mvnrepository.com/artifact/com.github.wechatpay-apiv3/wechatpay-java
  53. implementation 'com.github.wechatpay-apiv3:wechatpay-java:0.2.7'
  54. implementation 'com.github.wechatpay-apiv3:wechatpay-apache-httpclient:0.4.9'
  55. // https://mvnrepository.com/artifact/javax.mail/mail
  56. implementation 'javax.mail:mail:1.4.7'
  57. // https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2
  58. implementation 'com.alibaba.fastjson2:fastjson2:2.0.29'
  59. // https://mvnrepository.com/artifact/org.jsoup/jsoup
  60. implementation 'org.jsoup:jsoup:1.16.1'
  61. // https://mvnrepository.com/artifact/com.squareup.okhttp/okhttp
  62. implementation 'com.squareup.okhttp:okhttp:2.7.5'
  63. // https://mvnrepository.com/artifact/org.jsoup/jsoup
  64. implementation 'org.jsoup:jsoup:1.16.1'
  65. implementation 'com.google.api-client:google-api-client:2.0.0'
  66. implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
  67. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  68. testImplementation 'org.springframework.security:spring-security-test'
  69. testImplementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo.spring3x:4.12.2'
  70. testImplementation 'com.h2database:h2'
  71. testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.1'
  72. testImplementation 'org.liquibase:liquibase-core:4.19.0'
  73. }
  74. tasks.named('test') {
  75. useJUnitPlatform()
  76. }