build.gradle 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. plugins {
  2. id 'org.springframework.boot' version '1.4.4.RELEASE'
  3. id 'java'
  4. id 'eclipse'
  5. }
  6. sourceCompatibility = 1.8
  7. targetCompatibility = 1.8
  8. jar {
  9. baseName = 'factoring-trade-prod'
  10. version = '1.0.78'
  11. }
  12. springBoot {
  13. mainClass = "com.sunxung.factoring.ApplicationRun"
  14. }
  15. repositories {
  16. maven{
  17. url "http://maven.aliyun.com/nexus/content/groups/public/"
  18. }
  19. jcenter()
  20. }
  21. configurations {
  22. compile.exclude module: "spring-boot-starter-logging"
  23. }
  24. dependencies {
  25. compileOnly('org.projectlombok:lombok:1.18.12')
  26. annotationProcessor('org.projectlombok:lombok:1.18.2')
  27. compile('com.auth0:java-jwt:3.8.1')
  28. compile('com.belerweb:pinyin4j:2.5.1')
  29. annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
  30. compile('org.hibernate.validator:hibernate-validator:6.1.5.Final')
  31. compile("org.springframework.boot:spring-boot-starter-web"){
  32. exclude module: 'jackson-core'
  33. exclude module: 'hibernate-validator'
  34. }
  35. compile("org.springframework.boot:spring-boot-starter-log4j2"){
  36. exclude module: 'log4j-core'
  37. exclude module: 'log4j-api'
  38. exclude module: 'log4j-slf4j-impl'
  39. }
  40. testImplementation("org.springframework.boot:spring-boot-starter-test")
  41. /*二维码*/
  42. compile("com.google.zxing:core:3.4.1")
  43. /* log4j 依赖升级 */
  44. compile("org.apache.logging.log4j:log4j-api:2.17.2")
  45. compile("org.apache.logging.log4j:log4j-core:2.17.2")
  46. compile("org.apache.logging.log4j:log4j-slf4j-impl:2.17.2")
  47. /* seata 分布式事务 */
  48. compile("io.seata:seata-spring-boot-starter:1.8.0")
  49. /* jackson */
  50. compile("com.fasterxml.jackson.core:jackson-core:2.9.9")
  51. compile("com.fasterxml.jackson.core:jackson-annotations:2.9.9")
  52. compile("com.fasterxml.jackson.core:jackson-databind:2.9.9")
  53. /* -pdfbox */
  54. compile("org.apache.pdfbox:pdfbox:1.8.11")
  55. /* sql server */
  56. compile("com.microsoft.sqlserver:sqljdbc4:4.0")
  57. /* mybatis plus 多数据源 */
  58. compile("com.baomidou:dynamic-datasource-spring-boot-starter:3.4.0")
  59. compile("org.springframework.boot:spring-boot-starter-aop")
  60. compile("org.springframework.boot:spring-boot-starter-websocket")
  61. compile("org.springframework.boot:spring-boot-starter-mail")
  62. compile('cn.hutool:hutool-all:5.8.20')
  63. compile("org.thymeleaf:thymeleaf:3.0.3.RELEASE")
  64. compile("org.thymeleaf:thymeleaf-spring4:3.0.3.RELEASE")
  65. /* mybatis-plus 启动依赖 */
  66. compile("com.baomidou:mybatis-plus-boot-starter:3.4.0")
  67. compile("mysql:mysql-connector-java:5.1.40")
  68. compile("com.alibaba:druid:1.0.27")
  69. compile("com.alibaba:fastjson:1.2.24")
  70. compile("com.lmax:disruptor:3.3.6")
  71. compile("org.jodd:jodd-core:3.7.1")
  72. compile("com.thoughtworks.xstream:xstream:1.4.9")
  73. compile("com.belerweb:pinyin4j:2.5.1")
  74. compile("com.github.pagehelper:pagehelper-spring-boot-starter:1.3.0")
  75. compile("org.quartz-scheduler:quartz:2.2.3")
  76. compile("org.springframework:spring-context-support")
  77. compile("org.apache.httpcomponents:httpclient:4.5.3")
  78. compile("org.apache.httpcomponents:httpcore:4.4.6")
  79. compile("org.apache.httpcomponents:httpmime:4.5.3")
  80. compile("org.apache.poi:poi:5.2.1")
  81. compile("org.apache.poi:poi-ooxml:5.2.1")
  82. compile("org.apache.poi:poi-scratchpad:5.2.1")
  83. compile("javax.servlet:javax.servlet-api:3.1.0")
  84. compile("redis.clients:jedis:2.9.0")
  85. compile("xstream:xstream:1.1.3")
  86. compile("org.openoffice:unoil:3.0.1")
  87. compile("commons-cli:commons-cli:1.2")
  88. compile('commons-io:commons-io:2.11.0')
  89. compile("org.openoffice:juh:3.0.1")
  90. compile("org.openoffice:jurt:3.0.1")
  91. compile("org.openoffice:ridl:3.0.1")
  92. compile("commons-beanutils:commons-beanutils:1.9.3")
  93. compile("cglib:cglib-nodep:3.2.4")
  94. compile("org.flowable:flowable-spring-boot-starter:6.3.0")
  95. compile("com.lowagie:itext:2.1.7")
  96. compile("com.lowagie:itext-rtf:2.1.7")
  97. compile("com.itextpdf:itextpdf:5.1.2")
  98. compile("com.jfinal:jfinal:3.3")
  99. compile("com.itextpdf:itext-asian:5.1.1")
  100. compile("org.freemarker:freemarker:2.3.23")
  101. compile("org.apache.httpcomponents:httpmime:4.5.9")
  102. compile("org.jsoup:jsoup:1.12.1")
  103. testImplementation('junit:junit:4.13')
  104. // compile("commons-io:commons-io:2.6")
  105. /*
  106. compile("fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.core:1.0.5")
  107. compile("fr.opensagres.xdocreport:org.apache.poi.xwpf.converter.pdf:1.0.5")
  108. compile("fr.opensagres.xdocreport:fr.opensagres.xdocreport.itext.extension:1.0.5")
  109. */
  110. compile("com.documents4j:documents4j-transformer-msoffice-word:1.1.5")
  111. compile("com.documents4j:documents4j-local:1.1.5")
  112. compile("com.deepoove:poi-tl:1.11.1"){
  113. exclude module : 'poi'
  114. exclude module : 'poi-ooxml'
  115. exclude module : 'poi-scratchpad'
  116. }
  117. compile('ws.schild:jave-all-deps:3.3.1') {
  118. exclude group: 'ws.schild', module: 'jave-nativebin-win32'
  119. exclude group: 'ws.schild', module: 'jave-nativebin-linux32'
  120. exclude group: 'ws.schild', module: 'jave-nativebin-linux64'
  121. exclude group: 'ws.schild', module: 'jave-nativebin-osx64'
  122. exclude group: 'ws.schild', module: 'jave-nativebin-osxm1'
  123. exclude group: 'ws.schild', module: 'jave-nativebin-linux-arm32'
  124. exclude group: 'ws.schild', module: 'jave-nativebin-linux-arm64'
  125. }
  126. compile('net.coobird:thumbnailator:0.4.20')
  127. compile fileTree(dir:'lib',include:"*.jar")
  128. /*code generated*/
  129. testCompile group: 'com.baomidou', name: 'mybatis-plus-generator', version: '3.4.0'
  130. implementation 'net.coobird:thumbnailator:0.4.20'
  131. }
  132. test {
  133. systemProperties 'property': 'value'
  134. }
  135. uploadArchives {
  136. repositories {
  137. flatDir {
  138. dirs 'repos'
  139. }
  140. }
  141. }