build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'org.springframework.boot' version '2.3.1.RELEASE'
  3. id 'io.spring.dependency-management' version '1.0.9.RELEASE'
  4. id 'java'
  5. }
  6. group = 'com.zcxk'
  7. version = '0.0.1-SNAPSHOT'
  8. sourceCompatibility = '1.8'
  9. configurations {
  10. compileOnly {
  11. extendsFrom annotationProcessor
  12. }
  13. }
  14. repositories {
  15. mavenLocal()
  16. maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
  17. mavenCentral()
  18. }
  19. dependencies {
  20. //implementation project(':smart-city-common')
  21. compile 'com.zcxk.zoniot:smart-city-common:0.0.1'
  22. implementation 'org.springframework.boot:spring-boot-starter-web'
  23. implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
  24. implementation('org.springframework.boot:spring-boot-starter-data-redis')
  25. implementation 'com.xuxueli:xxl-job-core:2.2.0'
  26. //swagger在线接口文档生成工具
  27. compile('io.springfox:springfox-swagger2:2.7.0')
  28. compile('io.springfox:springfox-swagger-ui:2.7.0')
  29. compile('mysql:mysql-connector-java')
  30. //数据源连接池
  31. compile('com.alibaba:druid-spring-boot-starter:1.1.9')
  32. compile('com.github.pagehelper:pagehelper-spring-boot-starter:1.2.10')
  33. compile('com.alibaba:fastjson:1.2.41')
  34. compileOnly 'org.projectlombok:lombok'
  35. annotationProcessor 'org.projectlombok:lombok'
  36. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  37. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  38. }
  39. }
  40. test {
  41. useJUnitPlatform()
  42. }