Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

90 righe
2.5 KiB

  1. apply plugin: 'java'
  2. apply plugin: 'eclipse'
  3. apply plugin: 'war'
  4. sourceCompatibility = 11
  5. targetCompatibility = 11
  6. tasks.withType(JavaCompile) {
  7. options.encoding = 'UTF-8'
  8. }
  9. repositories {
  10. jcenter()
  11. mavenCentral()
  12. maven {
  13. url 'http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/'
  14. }
  15. }
  16. war {
  17. archiveName = 'tbms.war'
  18. classpath = classpath - sourceSets.main.output
  19. from (jar) {
  20. into 'WEB-INF/lib'
  21. }
  22. }
  23. dependencies {
  24. // for JDK 11
  25. compile 'javax.xml.bind:jaxb-api:2.3.1'
  26. compile 'javax.annotation:javax.annotation-api:1.3.2'
  27. compile 'com.sun.activation:javax.activation:1.2.0'
  28. compile 'org.springframework:spring-context:4.3.14.RELEASE'
  29. compile 'org.springframework:spring-context-support:4.3.14.RELEASE'
  30. compile 'org.springframework:spring-orm:4.3.14.RELEASE'
  31. compile 'org.springframework:spring-webmvc:4.3.14.RELEASE'
  32. compile 'org.springframework.security:spring-security-config:4.2.3.RELEASE'
  33. compile 'org.springframework.security:spring-security-web:4.2.3.RELEASE'
  34. compile 'org.apache.commons:commons-lang3:3.5'
  35. compile 'commons-fileupload:commons-fileupload:1.3.2'
  36. compile 'org.apache.poi:poi:3.17'
  37. compile 'org.apache.poi:poi-ooxml:3.17'
  38. compile 'org.freemarker:freemarker:2.3.23'
  39. compile 'org.hibernate:hibernate-core:5.2.12.Final'
  40. compile 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final'
  41. compile 'com.fasterxml.jackson.core:jackson-core:2.8.8'
  42. compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.8'
  43. compile 'com.fasterxml.jackson.core:jackson-databind:2.8.8.1'
  44. compile 'org.imgscalr:imgscalr-lib:4.2'
  45. compile(group: 'net.sf.jasperreports', name: 'jasperreports', version:'6.5.1') {
  46. exclude(module: 'bcmail-jdk14')
  47. exclude(module: 'bcprov-jdk14')
  48. exclude(module: 'bctsp-jdk14')
  49. exclude(module: 'castor-xml')
  50. exclude(module: 'jackson-core')
  51. exclude(module: 'jackson-annotations')
  52. exclude(module: 'jackson-databind')
  53. exclude(module: 'lucene-core')
  54. exclude(module: 'lucene-analyzers-common')
  55. exclude(module: 'lucene-queryparser')
  56. exclude(module: 'olap4j')
  57. }
  58. //providedCompile 'org.slf4j:slf4j-api:1.7.25'
  59. //providedCompile 'org.slf4j:slf4j-log4j12:1.7.25'
  60. providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
  61. providedCompile 'mysql:mysql-connector-java:8.0.15'
  62. //testCompile 'junit:junit:4.12'
  63. compile 'com.google.zxing:javase:3.2.1'
  64. //mail
  65. compile 'javax.mail:mail:1.4.7'
  66. compile group: 'org.liquibase', name: 'liquibase-core', version: '3.5.3'
  67. fileTree(dir: 'lib', include: '*.jar')
  68. }