build.gradle 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. plugins {
  2. id 'org.springframework.boot' version '2.1.0.RELEASE'
  3. id 'io.spring.dependency-management' version '1.0.8.RELEASE'
  4. id 'java'
  5. }
  6. group = 'com.zoniot'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '1.8'
  9. configurations {
  10. compileOnly {
  11. extendsFrom annotationProcessor
  12. }
  13. }
  14. repositories {
  15. mavenLocal()
  16. maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  17. }
  18. dependencies {
  19. implementation 'org.springframework.boot:spring-boot-starter'
  20. compileOnly 'org.projectlombok:lombok'
  21. annotationProcessor 'org.projectlombok:lombok'
  22. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  23. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  24. }
  25. implementation('org.springframework.boot:spring-boot-starter-security')
  26. implementation('org.springframework.boot:spring-boot-starter-web')
  27. implementation('org.springframework.boot:spring-boot-starter-thymeleaf')
  28. implementation('org.springframework.boot:spring-boot-starter-aop')
  29. implementation('org.springframework.boot:spring-boot-starter-validation')
  30. //implementation('org.springframework.boot:spring-boot-starter-amqp')
  31. //implementation('org.springframework.kafka:spring-kafka')
  32. compile('mysql:mysql-connector-java')
  33. //数据源连接池
  34. //compile('com.alibaba:druid:1.1.6')
  35. compile('com.alibaba:druid-spring-boot-starter:1.1.9')
  36. //swagger在线接口文档生成工具
  37. compile('io.springfox:springfox-swagger2:2.7.0')
  38. compile('io.springfox:springfox-swagger-ui:2.7.0')
  39. //分页插件
  40. //compile('com.github.pagehelper:pagehelper:4.1.0')
  41. compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.2.10')
  42. compile ('org.apache.httpcomponents:httpclient:4.5.6')
  43. //json工具
  44. compile('com.alibaba:fastjson:1.2.41')
  45. compile('io.jsonwebtoken:jjwt:0.9.0')
  46. //redis
  47. compile('org.springframework.boot:spring-boot-starter-data-redis')
  48. {
  49. exclude group: 'io.lettuce'
  50. }
  51. compile('redis.clients:jedis')
  52. compile('org.apache.commons:commons-pool2')
  53. compileOnly('org.projectlombok:lombok')
  54. testImplementation('org.springframework.boot:spring-boot-starter-test')
  55. compile('org.apache.commons:commons-lang3:3.4')
  56. compile('commons-collections:commons-collections:3.2.2')
  57. //poi
  58. //compile 'org.apache.poi:poi:3.17'
  59. //compile 'org.apache.poi:poi-ooxml:3.17'
  60. //compile 'org.apache.poi:poi-ooxml-schemas:3.17'
  61. //jxls
  62. //compile 'org.jxls.jxls:2.4.6'
  63. //compile 'org.jxls:jxls-poi:1.0.16'
  64. //compile('dom4j:dom4j:1.6.1')
  65. // quartz
  66. //compile('org.springframework.boot:spring-boot-starter-quartz')
  67. //腾讯云
  68. //compile('com.github.qcloudsms:qcloudsms:1.0.6')
  69. //netty
  70. //compile ('io.netty:netty-all:4.1.30.Final')
  71. compile('org.bouncycastle:bcprov-jdk16:1.46')
  72. //阿里云
  73. compile('com.aliyun:aliyun-java-sdk-core:4.1.0')
  74. //jdom
  75. compile('org.jdom:jdom:1.1')
  76. }
  77. test {
  78. useJUnitPlatform()
  79. }