build.gradle 1.4 KB

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