build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. jar{
  2. enabled true
  3. }
  4. bootJar {
  5. enabled true
  6. }
  7. dependencies {
  8. implementation 'org.springframework.cloud:spring-cloud-starter-oauth2'
  9. implementation 'org.springframework.cloud:spring-cloud-starter-security'
  10. implementation 'org.springframework.boot:spring-boot-starter'
  11. implementation 'org.springframework.boot:spring-boot-starter-json'
  12. implementation 'org.springframework.boot:spring-boot-starter-tomcat'
  13. implementation 'org.springframework.boot:spring-boot-starter-aop'
  14. implementation('org.springframework.kafka:spring-kafka')
  15. compile('mysql:mysql-connector-java')
  16. //数据源连接池
  17. compile('com.alibaba:druid-spring-boot-starter:1.1.9')
  18. // redis
  19. compile('org.springframework.boot:spring-boot-starter-data-redis')
  20. //json工具
  21. compile('com.alibaba:fastjson:1.2.41')
  22. compile ('org.apache.httpcomponents:httpclient:4.5.6')
  23. compile('org.apache.commons:commons-lang3:3.4')
  24. compile ('commons-beanutils:commons-beanutils:1.7.0')
  25. //分页插件
  26. compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.2.10')
  27. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  28. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  29. }
  30. }
  31. test {
  32. useJUnitPlatform()
  33. }