build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. plugins {
  2. id 'java'
  3. }
  4. group = 'com.utic.center'
  5. version = '0.0.1'
  6. compileJava.options.encoding = 'UTF-8'
  7. repositories {
  8. mavenLocal()
  9. mavenCentral()
  10. flatDir(dir: 'C:\\java\\repository\\')
  11. }
  12. dependencies {
  13. // compileOnly 'org.jetbrains:annotations'
  14. // lombok 라이브러리 추가 시작
  15. compileOnly 'org.projectlombok:lombok'
  16. annotationProcessor 'org.projectlombok:lombok'
  17. testCompileOnly 'org.projectlombok:lombok'
  18. testAnnotationProcessor 'org.projectlombok:lombok'
  19. // lombok 라이브러리 추가 끝
  20. implementation 'org.springframework.boot:spring-boot-starter-web'
  21. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  22. implementation 'org.springframework.boot:spring-boot-starter-aop'
  23. implementation 'io.micrometer:micrometer-registry-prometheus'
  24. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.0'
  25. implementation 'com.oracle:ojdbc7:12.1.0.2'
  26. implementation 'com.utic:utic-center-common:0.0.1'
  27. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  28. implementation 'org.jetbrains:annotations:24.0.0' //@NotNull, @Nullable
  29. implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16'
  30. }
  31. test {
  32. useJUnitPlatform()
  33. }
  34. jar {
  35. enabled = false
  36. }
  37. compileJava.options.encoding = 'UTF-8'
  38. tasks.withType(JavaCompile).configureEach {
  39. options.compilerArgs << '-Xlint:unchecked'
  40. options.deprecation = true
  41. options.encoding = 'UTF-8'
  42. }