build.gradle 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.micrometer:micrometer-registry-prometheus'
  26. implementation 'org.springframework.kafka:spring-kafka'
  27. implementation 'com.fasterxml.jackson.core:jackson-databind'
  28. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.0'
  29. implementation 'org.mariadb.jdbc:mariadb-java-client'
  30. // implementation 'com.oracle:ojdbc7:12.1.0.2'
  31. implementation 'io.netty:netty-all:4.1.52.Final'
  32. implementation 'com.evps:evps-common:0.0.1'
  33. implementation 'com.its:its-common:0.0.1'
  34. implementation 'com.its:its-network:0.0.1'
  35. implementation 'com.its:its-spring:0.0.1'
  36. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  37. }
  38. test {
  39. useJUnitPlatform()
  40. }
  41. jar {
  42. enabled = false
  43. }
  44. compileJava.options.encoding = 'UTF-8'
  45. tasks.withType(JavaCompile).configureEach {
  46. options.compilerArgs << '-Xlint:unchecked'
  47. options.deprecation = true
  48. options.encoding = 'UTF-8'
  49. }