build.gradle 1.6 KB

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