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.

56 lines
1.9 KiB

1 week ago
  1. buildscript {
  2. ext {
  3. springBootVersion = '2.3.0.RELEASE'
  4. }
  5. repositories {
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  10. }
  11. }
  12. apply plugin: 'java'
  13. apply plugin: 'eclipse'
  14. apply plugin: 'org.springframework.boot'
  15. apply plugin: 'io.spring.dependency-management'
  16. sourceCompatibility = 1.8
  17. targetCompatibility = 1.8
  18. repositories {
  19. maven { name "Alibaba" ; url 'https://maven.aliyun.com/repository/public' }
  20. maven { name "Bstek" ; url 'http://nexus.bsdn.org/content/groups/public/' }
  21. maven { name "M2" ; url 'https://plugins.gradle.org/m2/' }
  22. }
  23. dependencies {
  24. compile('org.springframework.boot:spring-boot-starter-aop')
  25. compile('org.springframework.boot:spring-boot-starter-freemarker')
  26. compile('org.springframework.boot:spring-boot-starter-web')
  27. compile('org.springframework.boot:spring-boot-starter-jdbc')
  28. compile('org.springframework.boot:spring-boot-starter-security')
  29. runtime('org.springframework.boot:spring-boot-devtools')
  30. testCompile('org.springframework.boot:spring-boot-starter-test')
  31. //POI
  32. compile('org.apache.poi:poi:3.15')
  33. compile('org.apache.poi:poi-ooxml:3.15')
  34. //compile('org.apache.poi:poi-ooxml-schemas:3.15')
  35. //compile('org.apache.poi:poi-scratchpad:3.15')
  36. //compile('org.apache.xmlbeans:xmlbeans:2.6.0')
  37. //compile('org.apache.poi:poi:4.1.2')
  38. //compile('org.apache.poi:poi-ooxml:4.1.2')
  39. //JSON
  40. compile('com.alibaba:fastjson:1.2.33')
  41. //数据库驱动
  42. compile files("/lib/sqljdbc6-4.1.jar")
  43. runtime('mysql:mysql-connector-java:6.0.6')
  44. //String的工具包
  45. compile('org.apache.commons:commons-lang3:3.5')
  46. //本地缓存
  47. compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
  48. //阿里duid
  49. compile group: 'com.alibaba', name: 'druid-spring-boot-starter', version: '1.1.10'
  50. //compile('com.alibaba:easyexcel:3.1.2')
  51. //compile('com.alibaba:easyexcel:2.2.10')
  52. }