build.gradle 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. buildscript {
  2. ext {
  3. springBootVersion = '2.4.13'
  4. }
  5. repositories {
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
  10. classpath "io.spring.gradle:dependency-management-plugin:1.0.4.RELEASE"
  11. }
  12. }
  13. // 하위 모든 프로젝트 공통 세팅
  14. subprojects {
  15. group = 'com.sig'
  16. version = '0.0.1'
  17. apply plugin: 'java'
  18. apply plugin: 'idea'
  19. apply plugin: 'org.springframework.boot'
  20. apply plugin: 'io.spring.dependency-management'
  21. sourceCompatibility = '1.8'
  22. targetCompatibility = '1.8'
  23. compileJava.options.encoding = 'UTF-8'
  24. repositories {
  25. mavenCentral()
  26. }
  27. // 하위 모듈에서 공통으로 사용하는 세팅 추가
  28. dependencies {
  29. // compileOnly 'org.projectlombok:lombok'
  30. //
  31. // annotationProcessor 'org.projectlombok:lombok'
  32. // annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
  33. //
  34. // implementation 'org.springframework.boot:spring-boot-starter-test'
  35. //
  36. // testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
  37. // testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
  38. }
  39. test {
  40. useJUnitPlatform()
  41. }
  42. }
  43. // 각 프로젝트에서만 사용하는 의존성 추가
  44. project(':sig-common') {
  45. bootJar.enabled = false
  46. jar.enabled = true
  47. dependencies {
  48. }
  49. }
  50. project(':ggits-common') {
  51. bootJar.enabled = false
  52. jar.enabled = true
  53. dependencies {
  54. }
  55. }
  56. project(':sig-comm-server') {
  57. jar.enabled = false
  58. dependencies {
  59. // implementation project(':its-asn1')
  60. // implementation 'org.springframework.boot:spring-boot-starter-web'
  61. }
  62. }
  63. project(':sig-todp-server') {
  64. jar.enabled = false
  65. dependencies {
  66. // implementation project(':its-asn1')
  67. // implementation 'org.springframework.boot:spring-boot-starter-web'
  68. }
  69. }
  70. project(':sig-consumer') {
  71. jar.enabled = false
  72. dependencies {
  73. // implementation project(':its-asn1')
  74. // implementation 'org.springframework.boot:spring-boot-starter-web'
  75. }
  76. }
  77. project(':ggits-comm-server') {
  78. jar.enabled = false
  79. dependencies {
  80. // implementation project(':its-asn1')
  81. // implementation 'org.springframework.boot:spring-boot-starter-web'
  82. }
  83. }
  84. project(':ggits-etlp-server') {
  85. jar.enabled = false
  86. dependencies {
  87. // implementation project(':its-asn1')
  88. // implementation 'org.springframework.boot:spring-boot-starter-web'
  89. }
  90. }