build.gradle 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. group 'com.gxzc.pro'
  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_version = '3.4.5'
  18. mybatiss_version = '1.3.1'
  19. mybatis_plus_version = '2.1.7'
  20. mybatis_plus_boot_version = '1.0.4'
  21. activiti_version = '7-201712-EA'
  22. rabbitmq_version = '5.1.2'
  23. xxljob_version = '1.9.0'
  24. swagger_version = '2.7.0'
  25. fastjson_version = '1.2.44'
  26. }
  27. repositories {
  28. mavenCentral()
  29. }
  30. dependencies {
  31. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  32. classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
  33. classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
  34. }
  35. }
  36. allprojects {}
  37. subprojects {
  38. apply plugin: 'java'
  39. apply plugin: 'kotlin'
  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-web")
  49. testCompile("junit:junit:4.12")
  50. testCompile("org.springframework.boot:spring-boot-starter-test")
  51. compile ("commons-io:commons-io:$commons_io_version")
  52. compile ("commons-logging:commons-logging:$commons_logging_version")
  53. compile ("org.apache.commons:commons-lang3:$commons_lang3_version")
  54. compile group: 'commons-codec', name: 'commons-codec', version: '1.10'
  55. compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.3.2'
  56. compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
  57. compile group: 'log4j', name: 'log4j', version: '1.2.17'
  58. compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
  59. compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.25'
  60. // https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api
  61. compile group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'
  62. compile group: 'javax.servlet', name: 'servlet-api', version: '2.5'
  63. // compile group: 'javax.servlet', name: 'jstl', version: '1.2'
  64. // compile group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1'
  65. compile ("org.springframework.amqp:spring-rabbit:$spring_rabbitmq_version")
  66. compile ("org.springframework.data:spring-data-commons-core:1.4.1.RELEASE")
  67. compile ("org.springframework.data:spring-data-commons:$spring_data_version")
  68. compile ("org.springframework.data:spring-data-redis:$spring_data_version")
  69. compile ("org.springframework.data:spring-data-jpa:$spring_data_version")
  70. compile ("org.springframework.data:spring-data-elasticsearch:$spring_data_elasticsearch_version")
  71. compile ("com.alibaba:druid:$alidruid_version")
  72. compile ("org.ehcache:ehcache:$ehcache_version")
  73. compile ("org.activiti:activiti-engine:$activiti_version")
  74. compile ("org.activiti:activiti-spring:$activiti_version")
  75. compile ("net.sf.ehcache:ehcache-core:$ehcache_core_version")
  76. compile ("mysql:mysql-connector-java:$mysql_connector_version")
  77. // compile ("org.mybatis:mybatis:$mybatis_version")
  78. // compile ("org.mybatis:mybatis-spring:$mybatiss_version")
  79. compile ("com.baomidou:mybatis-plus:$mybatis_plus_version")
  80. compile ("com.baomidou:mybatisplus-spring-boot-starter:$mybatis_plus_boot_version")
  81. compile ("com.rabbitmq:amqp-client:$rabbitmq_version")
  82. compile ("com.xuxueli:xxl-job-core:$xxljob_version")
  83. compile ("io.springfox:springfox-swagger2:$swagger_version")
  84. compile ("io.springfox:springfox-swagger2-ui:$swagger_version")
  85. compile ("com.google.guava:guava:23.6-jre")
  86. compile ("com.github.penggle:kaptcha:2.3.2")
  87. compile ("com.alibaba:fastjson:$fastjson_version")
  88. compile ("com.fasterxml.jackson.core:jackson-core:2.9.3")
  89. compile ("com.fasterxml.jackson.core:jackson-databind:2.9.3")
  90. compile ("com.fasterxml.jackson.core:jackson-annotations:2.9.3")
  91. compile ("com.baomidou:kisso:3.6.11")
  92. compile ("io.jsonwebtoken:jjwt:0.7.0")
  93. compile ("org.projectlombok:lombok:1.16.18")
  94. }
  95. }