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