build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'java'
  3. }
  4. group = 'com.evps'
  5. version = ''
  6. sourceCompatibility = '1.8'
  7. targetCompatibility = '1.8'
  8. compileJava.options.encoding = 'UTF-8'
  9. repositories {
  10. mavenLocal()
  11. mavenCentral()
  12. flatDir(dir: 'C:\\java\\repository\\')
  13. }
  14. dependencies {
  15. implementation 'org.springframework.boot:spring-boot-starter-web'
  16. // implementation 'com.its:its-common:0.0.1'
  17. implementation 'com.evps:evps-common:0.0.1'
  18. implementation 'org.springframework.kafka:spring-kafka'
  19. implementation 'com.fasterxml.jackson.core:jackson-databind'
  20. // lombok 라이브러리 추가 시작
  21. compileOnly 'org.projectlombok:lombok'
  22. annotationProcessor 'org.projectlombok:lombok'
  23. testCompileOnly 'org.projectlombok:lombok'
  24. testAnnotationProcessor 'org.projectlombok:lombok'
  25. // lombok 라이브러리 추가 끝
  26. testImplementation platform('org.junit:junit-bom:5.10.0')
  27. testImplementation 'org.junit.jupiter:junit-jupiter'
  28. }
  29. test {
  30. useJUnitPlatform()
  31. }
  32. jar {
  33. enabled = false
  34. }
  35. compileJava.options.encoding = 'UTF-8'
  36. tasks.withType(JavaCompile).configureEach {
  37. options.compilerArgs << '-Xlint:unchecked'
  38. options.deprecation = true
  39. options.encoding = 'UTF-8'
  40. }