build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 'org.springframework.kafka:spring-kafka'
  18. // lombok 라이브러리 추가 시작
  19. compileOnly 'org.projectlombok:lombok'
  20. annotationProcessor 'org.projectlombok:lombok'
  21. testCompileOnly 'org.projectlombok:lombok'
  22. testAnnotationProcessor 'org.projectlombok:lombok'
  23. // lombok 라이브러리 추가 끝
  24. testImplementation platform('org.junit:junit-bom:5.10.0')
  25. testImplementation 'org.junit.jupiter:junit-jupiter'
  26. }
  27. test {
  28. useJUnitPlatform()
  29. }
  30. jar {
  31. enabled = false
  32. }
  33. compileJava.options.encoding = 'UTF-8'
  34. tasks.withType(JavaCompile).configureEach {
  35. options.compilerArgs << '-Xlint:unchecked'
  36. options.deprecation = true
  37. options.encoding = 'UTF-8'
  38. }