You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.0 KiB

3 days ago
  1. buildscript {
  2. ext {
  3. springBootVersion = '1.5.2.RELEASE'
  4. }
  5. repositories {
  6. //mavenCentral()
  7. maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
  8. }
  9. dependencies {
  10. classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  11. }
  12. }
  13. apply plugin: 'java'
  14. apply plugin: 'org.springframework.boot'
  15. jar {
  16. baseName = 'tt-india-2026'
  17. }
  18. sourceCompatibility = 1.8
  19. targetCompatibility = 1.8
  20. springBoot {
  21. mainClass = "com.ccl.tt.TTApplication"
  22. }
  23. repositories {
  24. //mavenCentral()
  25. maven { url "http://maven.aliyun.com/nexus/content/groups/public" }
  26. }
  27. dependencies {
  28. compile('org.springframework.boot:spring-boot-starter-data-jpa')
  29. compile('org.springframework.boot:spring-boot-starter-freemarker')
  30. compile('org.springframework.boot:spring-boot-starter-web')
  31. compile('org.springframework.boot:spring-boot-starter-security')
  32. //邮件的包 2023-05-15 LR 添加邮件的jar
  33. compile('org.springframework.boot:spring-boot-starter-mail:2.0.4.RELEASE')
  34. //compile('opensymphony:sitemesh:2.4.1')
  35. compile('org.apache.poi:poi:3.15')
  36. compile('org.apache.poi:poi-ooxml:3.15')
  37. compile('org.apache.commons:commons-lang3:3.5')
  38. compile('commons-io:commons-io:2.4')
  39. compile('commons-net:commons-net:3.6')
  40. compile('com.google.zxing:javase:3.3.0')
  41. compile('com.alibaba:fastjson:1.2.33')
  42. runtime('org.springframework.boot:spring-boot-devtools')
  43. //runtime('com.microsoft.sqlserver:sqljdbc4:4.0')
  44. //runtime('com.microsoft.sqlserver:sqljdbc6:4.1')
  45. //本地缓存
  46. compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
  47. // httpclient
  48. compile('org.apache.httpcomponents:httpclient:4.5')
  49. //数据库驱动
  50. //implementation(fileTree(dir: 'lib', include: '**/*.jar'))
  51. compile files("/lib/sqljdbc6-4.1.jar")
  52. runtime('net.sourceforge.jtds:jtds:1.3.1')
  53. runtime('mysql:mysql-connector-java:6.0.6')
  54. testCompile('org.springframework.boot:spring-boot-starter-test')
  55. //testCompile('com.hynnet:jacob:1.18')
  56. //阿里duid
  57. compile group: 'com.alibaba', name: 'druid-spring-boot-starter', version: '1.1.5'
  58. }