build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'org.springframework.boot' version '2.2.5.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. }
  18. dependencies {
  19. //classpath 'se.transmode.gradle:gradle-docker:1.2'
  20. implementation('org.springframework.boot:spring-boot-starter-web')
  21. compile ('io.netty:netty-all:4.1.30.Final')
  22. //json工具
  23. compile('com.alibaba:fastjson:1.2.41')
  24. compile('org.apache.commons:commons-lang3:3.4')
  25. //swagger在线接口文档生成工具
  26. compile('io.springfox:springfox-swagger2:2.7.0')
  27. compile('io.springfox:springfox-swagger-ui:2.7.0')
  28. compileOnly 'org.projectlombok:lombok'
  29. annotationProcessor 'org.projectlombok:lombok'
  30. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  31. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  32. }
  33. }
  34. test {
  35. useJUnitPlatform()
  36. }