build.gradle 5.3 KB

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