build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. // implementation 'org.fusesource.jansi:jansi:1.18'
  15. // lombok 라이브러리 추가 시작
  16. compileOnly 'org.projectlombok:lombok'
  17. annotationProcessor 'org.projectlombok:lombok'
  18. testCompileOnly 'org.projectlombok:lombok'
  19. testAnnotationProcessor 'org.projectlombok:lombok'
  20. // lombok 라이브러리 추가 끝
  21. implementation 'org.springframework.boot:spring-boot-starter-web'
  22. implementation 'org.springframework.boot:spring-boot-starter-actuator'
  23. implementation 'org.springframework.boot:spring-boot-starter-aop'
  24. implementation 'io.micrometer:micrometer-registry-prometheus'
  25. implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.0'
  26. implementation 'com.oracle:ojdbc7:12.1.0.2'
  27. implementation 'com.utic:utic-center-common:0.0.1'
  28. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  29. implementation 'org.jetbrains:annotations:24.0.0' //@NotNull, @Nullable
  30. implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16'
  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. }