build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. plugins {
  2. id 'org.springframework.boot' version '2.2.6.RELEASE'
  3. id 'io.spring.dependency-management' version '1.0.9.RELEASE'
  4. id 'java'
  5. }
  6. group = 'com.zcxk'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '1.8'
  9. repositories {
  10. mavenLocal()
  11. maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  12. mavenCentral()
  13. }
  14. dependencies {
  15. compileOnly 'org.projectlombok:lombok'
  16. annotationProcessor 'org.projectlombok:lombok'
  17. implementation 'org.springframework.boot:spring-boot-starter-web'
  18. implementation 'de.codecentric:spring-boot-admin-starter-client:2.2.2'
  19. compile('mysql:mysql-connector-java:5.1.47')
  20. //数据源连接池
  21. compile('com.alibaba:druid-spring-boot-starter:1.1.9')
  22. //swagger在线接口文档生成工具
  23. compile('io.springfox:springfox-swagger2:2.7.0')
  24. compile('io.springfox:springfox-swagger-ui:2.7.0')
  25. //json工具
  26. compile('com.alibaba:fastjson:1.2.41')
  27. //poi
  28. compile 'org.apache.poi:poi:3.17'
  29. compile 'org.apache.poi:poi-ooxml:3.17'
  30. compile 'org.apache.poi:poi-ooxml-schemas:3.17'
  31. compile('org.apache.commons:commons-lang3:3.4')
  32. implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
  33. compile group: 'com.alibaba', name: 'easyexcel', version: '2.2.6'
  34. //redis
  35. compile('org.springframework.boot:spring-boot-starter-data-redis')
  36. compile('org.springframework.boot:spring-boot-starter-amqp')
  37. compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.2.10')
  38. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  39. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  40. }
  41. }
  42. test {
  43. useJUnitPlatform()
  44. }