build.gradle 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. buildscript {
  2. ext {
  3. lombokVersion = '1.18.12'
  4. }
  5. }
  6. plugins {
  7. id 'org.springframework.boot' version '2.2.7.RELEASE'
  8. id 'io.spring.dependency-management' version '1.0.9.RELEASE'
  9. id 'java'
  10. }
  11. group = 'com.finogeeks.swan'
  12. version = '1.0.0'
  13. sourceCompatibility = '1.8'
  14. repositories {
  15. maven { url "https://gradle.finogeeks.club/content/groups/public/" }
  16. maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
  17. mavenCentral()
  18. }
  19. dependencies {
  20. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  21. implementation 'org.springframework.boot:spring-boot-starter-data-rest'
  22. implementation 'org.springframework.boot:spring-boot-starter-web'
  23. implementation group: 'dom4j', name: 'dom4j', version: '1.6.1'
  24. implementation group: 'com.google.guava', name: 'guava', version: '29.0-jre'
  25. implementation group: 'commons-io', name: 'commons-io', version: '2.7'
  26. implementation group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.4'
  27. implementation fileTree(dir: 'libs', include: ['*.jar'])
  28. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  29. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  30. }
  31. compileOnly "org.projectlombok:lombok:${lombokVersion}"
  32. annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
  33. implementation group: 'ch.qos.logback', name: 'logback-access', version: '1.2.3'
  34. implementation group: 'net.rakugakibox.spring.boot', name: 'logback-access-spring-boot-starter', version: '2.7.1'
  35. implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.68'
  36. implementation('org.springframework.boot:spring-boot-starter-data-mongodb')
  37. implementation 'org.springframework.kafka:spring-kafka'
  38. implementation 'org.springframework.boot:spring-boot-starter-data-elasticsearch'
  39. implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
  40. }
  41. test {
  42. useJUnitPlatform()
  43. }