build.gradle 5.2 KB

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