build.gradle 4.9 KB

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