build.gradle 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. group 'com.gxzc.zen'
  2. version '1.0-SNAPSHOT'
  3. buildscript {
  4. ext {
  5. kotlin_version = '1.2.20'
  6. commons_io_version = '2.5'
  7. commons_logging_version = '1.1.3'
  8. commons_lang3_version = '3.5'
  9. spring_boot_version = '1.5.9.RELEASE'
  10. spring_data_version = '2.0.2.RELEASE'
  11. spring_data_elasticsearch_version = '3.0.2.RELEASE'
  12. spring_rabbitmq_version = '2.0.1.RELEASE'
  13. ehcache_version = '3.4.0'
  14. ehcache_core_version = '2.6.11'
  15. mysql_connector_version = '5.1.45'
  16. alidruid_version = '1.1.6'
  17. mybatis_plus_version = '2.1.8'
  18. mybatis_plus_boot_version = '1.0.5'
  19. activiti_version = '7-201712-EA'
  20. rabbitmq_version = '5.1.2'
  21. xxljob_version = '1.9.0'
  22. swagger_version = '2.7.0'
  23. fastjson_version = '1.2.44'
  24. }
  25. repositories {
  26. mavenCentral()
  27. }
  28. dependencies {
  29. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  30. classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
  31. classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
  32. }
  33. }
  34. allprojects {}
  35. subprojects {
  36. apply plugin: 'java'
  37. apply plugin: 'kotlin'
  38. apply plugin: 'kotlin-spring'
  39. apply plugin: 'org.springframework.boot'
  40. sourceCompatibility = 1.8
  41. targetCompatibility = 1.8
  42. repositories {
  43. mavenCentral()
  44. }
  45. dependencies {
  46. compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
  47. compile("org.jetbrains.kotlin:kotlin-reflect")
  48. compile('org.springframework.boot:spring-boot-starter')
  49. compile('org.springframework.boot:spring-boot-starter-web')
  50. testCompile('org.springframework.boot:spring-boot-starter-test')
  51. testCompile("junit:junit:4.12")
  52. compile("commons-io:commons-io:$commons_io_version")
  53. // compile("commons-logging:commons-logging:$commons_logging_version")
  54. compile("org.apache.commons:commons-lang3:$commons_lang3_version")
  55. compile group: 'commons-codec', name: 'commons-codec', version: '1.10'
  56. compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.3.2'
  57. compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
  58. // compile group: 'log4j', name: 'log4j', version: '1.2.17'
  59. compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
  60. // compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
  61. // https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api
  62. compile group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'
  63. compile group: 'javax.servlet', name: 'servlet-api', version: '2.5'
  64. // compile group: 'javax.servlet', name: 'jstl', version: '1.2'
  65. // compile group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1'
  66. //
  67. // compile ("org.springframework.amqp:spring-rabbit:$spring_rabbitmq_version")
  68. // compile ("org.springframework.data:spring-data-commons-core:1.4.1.RELEASE")
  69. // compile ("org.springframework.data:spring-data-commons:$spring_data_version")
  70. // compile ("org.springframework.data:spring-data-redis:$spring_data_version")
  71. // compile ("org.springframework.data:spring-data-jpa:$spring_data_version")
  72. // compile ("org.springframework.data:spring-data-elasticsearch:$spring_data_elasticsearch_version")
  73. //
  74. compile("com.alibaba:druid:$alidruid_version")
  75. compile("org.ehcache:ehcache:$ehcache_version")
  76. compile("org.activiti:activiti-engine:$activiti_version")
  77. compile("org.activiti:activiti-spring:$activiti_version")
  78. compile("net.sf.ehcache:ehcache-core:$ehcache_core_version")
  79. compile("mysql:mysql-connector-java:$mysql_connector_version")
  80. // compile ("org.mybatis:mybatis:$mybatis_version")
  81. // compile ("org.mybatis:mybatis-spring:$mybatiss_version")
  82. compile("com.baomidou:mybatis-plus:$mybatis_plus_version")
  83. compile("com.baomidou:mybatisplus-spring-boot-starter:$mybatis_plus_boot_version")
  84. compile("com.rabbitmq:amqp-client:$rabbitmq_version")
  85. compile("com.xuxueli:xxl-job-core:$xxljob_version")
  86. compile("io.springfox:springfox-swagger2:$swagger_version")
  87. compile("io.springfox:springfox-swagger-ui:$swagger_version")
  88. compile("com.google.guava:guava:23.6-jre")
  89. compile("com.github.penggle:kaptcha:2.3.2")
  90. compile("com.alibaba:fastjson:$fastjson_version")
  91. compile("com.baomidou:kisso:3.7.0")
  92. compile("io.jsonwebtoken:jjwt:0.7.0")
  93. compile("org.projectlombok:lombok:1.16.18")
  94. compile("org.apache.velocity:velocity-engine-core:2.0")
  95. }
  96. }