build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'java'
  3. }
  4. group = 'com.sig'
  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. // lombok 라이브러리 추가 시작
  20. compileOnly 'org.projectlombok:lombok'
  21. annotationProcessor 'org.projectlombok:lombok'
  22. testCompileOnly 'org.projectlombok:lombok'
  23. testAnnotationProcessor 'org.projectlombok:lombok'
  24. // lombok 라이브러리 추가 끝
  25. testImplementation platform('org.junit:junit-bom:5.10.0')
  26. testImplementation 'org.junit.jupiter:junit-jupiter'
  27. }
  28. test {
  29. useJUnitPlatform()
  30. }
  31. jar {
  32. enabled = false
  33. }
  34. tasks.withType(JavaCompile) {
  35. options.compilerArgs << '-Xlint:unchecked'
  36. options.deprecation = true
  37. }