From 3b42450ffba257a3b60a3be2bfeaca977367cb23 Mon Sep 17 00:00:00 2001 From: Jiwondev Date: Thu, 4 Jan 2024 02:26:32 +0900 Subject: [PATCH] =?UTF-8?q?build/#131:=20build.gradle=20->=20build.gradle.?= =?UTF-8?q?kts=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- account-api/account-application/build.gradle | 11 ---- .../account-application/build.gradle.kts | 18 ++++++ account-api/account-domain/build.gradle | 8 --- account-api/account-domain/build.gradle.kts | 16 ++++++ .../account-infrastructure/build.gradle | 17 ------ .../account-infrastructure/build.gradle.kts | 25 +++++++++ account-api/account-presentation/build.gradle | 16 ------ .../account-presentation/build.gradle.kts | 23 ++++++++ app/build.gradle | 51 ----------------- app/build.gradle.kts | 56 +++++++++++++++++++ build.gradle.kts | 23 ++------ buildSrc/build.gradle.kts | 29 ++++++++++ buildSrc/main/kotlin/Version.kt | 4 +- common/build.gradle | 4 -- common/build.gradle.kts | 12 ++++ .../common/annotation/NoArgsConstructor.kt | 3 + gradle.properties | 4 +- .../notification-application/build.gradle | 13 ----- .../notification-application/build.gradle.kts | 20 +++++++ .../notification-domain/build.gradle | 8 --- .../notification-domain/build.gradle.kts | 16 ++++++ .../notification-infrastructure/build.gradle | 17 ------ .../build.gradle.kts | 25 +++++++++ .../notification-presentation/build.gradle | 15 ----- .../build.gradle.kts | 23 ++++++++ order-api/order-application/build.gradle | 13 ----- order-api/order-application/build.gradle.kts | 21 +++++++ order-api/order-domain/build.gradle | 8 --- order-api/order-domain/build.gradle.kts | 16 ++++++ order-api/order-infrastructure/build.gradle | 14 ----- .../order-infrastructure/build.gradle.kts | 21 +++++++ order-api/order-presentation/build.gradle | 15 ----- order-api/order-presentation/build.gradle.kts | 23 ++++++++ payment-api/payment-application/build.gradle | 13 ----- .../payment-application/build.gradle.kts | 20 +++++++ payment-api/payment-domain/build.gradle | 8 --- payment-api/payment-domain/build.gradle.kts | 16 ++++++ .../payment-infrastructure/build.gradle | 21 ------- .../payment-infrastructure/build.gradle.kts | 28 ++++++++++ payment-api/payment-presentation/build.gradle | 15 ----- .../payment-presentation/build.gradle.kts | 23 ++++++++ product-api/product-application/build.gradle | 15 ----- .../product-application/build.gradle.kts | 22 ++++++++ product-api/product-domain/build.gradle | 8 --- product-api/product-domain/build.gradle.kts | 16 ++++++ .../product-infrastructure/build.gradle | 14 ----- .../product-infrastructure/build.gradle.kts | 21 +++++++ product-api/product-presentation/build.gradle | 16 ------ .../product-presentation/build.gradle.kts | 26 +++++++++ query-api/build.gradle | 14 ----- query-api/build.gradle.kts | 22 ++++++++ settings.gradle | 40 ------------- settings.gradle.kts | 47 ++++++++++++++++ 53 files changed, 597 insertions(+), 396 deletions(-) delete mode 100644 account-api/account-application/build.gradle create mode 100644 account-api/account-application/build.gradle.kts delete mode 100644 account-api/account-domain/build.gradle create mode 100644 account-api/account-domain/build.gradle.kts delete mode 100644 account-api/account-infrastructure/build.gradle create mode 100644 account-api/account-infrastructure/build.gradle.kts delete mode 100644 account-api/account-presentation/build.gradle create mode 100644 account-api/account-presentation/build.gradle.kts delete mode 100644 app/build.gradle create mode 100644 app/build.gradle.kts create mode 100644 buildSrc/build.gradle.kts delete mode 100644 common/build.gradle create mode 100644 common/build.gradle.kts create mode 100644 common/src/main/java/kr/flab/movieon/common/annotation/NoArgsConstructor.kt delete mode 100644 notification-api/notification-application/build.gradle create mode 100644 notification-api/notification-application/build.gradle.kts delete mode 100644 notification-api/notification-domain/build.gradle create mode 100644 notification-api/notification-domain/build.gradle.kts delete mode 100644 notification-api/notification-infrastructure/build.gradle create mode 100644 notification-api/notification-infrastructure/build.gradle.kts delete mode 100644 notification-api/notification-presentation/build.gradle create mode 100644 notification-api/notification-presentation/build.gradle.kts delete mode 100644 order-api/order-application/build.gradle create mode 100644 order-api/order-application/build.gradle.kts delete mode 100644 order-api/order-domain/build.gradle create mode 100644 order-api/order-domain/build.gradle.kts delete mode 100644 order-api/order-infrastructure/build.gradle create mode 100644 order-api/order-infrastructure/build.gradle.kts delete mode 100644 order-api/order-presentation/build.gradle create mode 100644 order-api/order-presentation/build.gradle.kts delete mode 100644 payment-api/payment-application/build.gradle create mode 100644 payment-api/payment-application/build.gradle.kts delete mode 100644 payment-api/payment-domain/build.gradle create mode 100644 payment-api/payment-domain/build.gradle.kts delete mode 100644 payment-api/payment-infrastructure/build.gradle create mode 100644 payment-api/payment-infrastructure/build.gradle.kts delete mode 100644 payment-api/payment-presentation/build.gradle create mode 100644 payment-api/payment-presentation/build.gradle.kts delete mode 100644 product-api/product-application/build.gradle create mode 100644 product-api/product-application/build.gradle.kts delete mode 100644 product-api/product-domain/build.gradle create mode 100644 product-api/product-domain/build.gradle.kts delete mode 100644 product-api/product-infrastructure/build.gradle create mode 100644 product-api/product-infrastructure/build.gradle.kts delete mode 100644 product-api/product-presentation/build.gradle create mode 100644 product-api/product-presentation/build.gradle.kts delete mode 100644 query-api/build.gradle create mode 100644 query-api/build.gradle.kts delete mode 100644 settings.gradle create mode 100644 settings.gradle.kts diff --git a/account-api/account-application/build.gradle b/account-api/account-application/build.gradle deleted file mode 100644 index 93b001a..0000000 --- a/account-api/account-application/build.gradle +++ /dev/null @@ -1,11 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":account-api:account-domain") - implementation project(":common") - implementation "org.springframework.boot:spring-boot-starter-data-jpa" -} - diff --git a/account-api/account-application/build.gradle.kts b/account-api/account-application/build.gradle.kts new file mode 100644 index 0000000..6e24116 --- /dev/null +++ b/account-api/account-application/build.gradle.kts @@ -0,0 +1,18 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":account-api:account-domain")) + implementation(project(":common")) + implementation("org.springframework.boot:spring-boot-starter-data-jpa") +} diff --git a/account-api/account-domain/build.gradle b/account-api/account-domain/build.gradle deleted file mode 100644 index 82ab8ed..0000000 --- a/account-api/account-domain/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -dependencies { - implementation project(":common") - implementation "jakarta.persistence:jakarta.persistence-api:3.1.0" - implementation "org.hibernate:hibernate-core:6.3.2.Final" - testImplementation "org.assertj:assertj-core" - testImplementation "org.junit.jupiter:junit-jupiter-api" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" -} diff --git a/account-api/account-domain/build.gradle.kts b/account-api/account-domain/build.gradle.kts new file mode 100644 index 0000000..d5eec94 --- /dev/null +++ b/account-api/account-domain/build.gradle.kts @@ -0,0 +1,16 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +dependencies { + implementation(project(":common")) + implementation("jakarta.persistence:jakarta.persistence-api:3.1.0") + implementation("org.hibernate:hibernate-core:6.3.2.Final") + testImplementation("org.assertj:assertj-core") + testImplementation("org.junit.jupiter:junit-jupiter-api") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") +} diff --git a/account-api/account-infrastructure/build.gradle b/account-api/account-infrastructure/build.gradle deleted file mode 100644 index dd01791..0000000 --- a/account-api/account-infrastructure/build.gradle +++ /dev/null @@ -1,17 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":account-api:account-domain") - implementation project(":common") - implementation "io.jsonwebtoken:jjwt-api:0.12.3" - implementation "io.jsonwebtoken:jjwt-impl:0.12.3" - implementation "io.jsonwebtoken:jjwt-jackson:0.12.3" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - implementation "org.springframework.boot:spring-boot-starter-security" - testImplementation "org.springframework.boot:spring-boot-starter-test" - annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" -} diff --git a/account-api/account-infrastructure/build.gradle.kts b/account-api/account-infrastructure/build.gradle.kts new file mode 100644 index 0000000..e0fba28 --- /dev/null +++ b/account-api/account-infrastructure/build.gradle.kts @@ -0,0 +1,25 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":account-api:account-domain")) + implementation(project(":common")) + implementation("io.jsonwebtoken:jjwt-api:0.12.3") + implementation("io.jsonwebtoken:jjwt-impl:0.12.3") + implementation("io.jsonwebtoken:jjwt-jackson:0.12.3") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + implementation("org.springframework.boot:spring-boot-starter-security") + testImplementation("org.springframework.boot:spring-boot-starter-test") + annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") +} diff --git a/account-api/account-presentation/build.gradle b/account-api/account-presentation/build.gradle deleted file mode 100644 index b663d74..0000000 --- a/account-api/account-presentation/build.gradle +++ /dev/null @@ -1,16 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":account-api:account-application") - implementation project(":common") - implementation "org.springdoc:springdoc-openapi-ui:1.6.6" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-security" - implementation "org.springframework.boot:spring-boot-starter-validation" - testImplementation "org.springframework.security:spring-security-test" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} - diff --git a/account-api/account-presentation/build.gradle.kts b/account-api/account-presentation/build.gradle.kts new file mode 100644 index 0000000..31d4dbd --- /dev/null +++ b/account-api/account-presentation/build.gradle.kts @@ -0,0 +1,23 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":account-api:account-application")) + implementation(project(":common")) + implementation("org.springdoc:springdoc-openapi-ui:1.6.6") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-security") + implementation("org.springframework.boot:spring-boot-starter-validation") + testImplementation("org.springframework.security:spring-security-test") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/app/build.gradle b/app/build.gradle deleted file mode 100644 index b92100d..0000000 --- a/app/build.gradle +++ /dev/null @@ -1,51 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":notification-api:notification-presentation") - implementation project(":notification-api:notification-application") - implementation project(":notification-api:notification-domain") - implementation project(":notification-api:notification-infrastructure") - - implementation project(":account-api:account-presentation") - implementation project(":account-api:account-application") - implementation project(":account-api:account-domain") - implementation project(":account-api:account-infrastructure") - - implementation project(":order-api:order-presentation") - implementation project(":order-api:order-application") - implementation project(":order-api:order-domain") - implementation project(":order-api:order-infrastructure") - - implementation project(":payment-api:payment-presentation") - implementation project(":payment-api:payment-application") - implementation project(":payment-api:payment-domain") - implementation project(":payment-api:payment-infrastructure") - - implementation project(":product-api:product-presentation") - implementation project(":product-api:product-application") - implementation project(":product-api:product-domain") - implementation project(":product-api:product-infrastructure") - - implementation project(":query-api") - - implementation project(":common") - - implementation "org.springdoc:springdoc-openapi-ui:1.6.6" - implementation "org.springdoc:springdoc-openapi-security:1.6.6" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - implementation "org.springframework.boot:spring-boot-starter-security" - implementation "org.springframework.boot:spring-boot-starter-validation" - implementation "org.springframework.boot:spring-boot-starter-amqp" - implementation "it.ozimov:embedded-redis:0.7.2" - testImplementation "it.ozimov:embedded-redis:0.7.2" - runtimeOnly "com.mysql:mysql-connector-j" - implementation "org.flywaydb:flyway-mysql" - testImplementation "com.h2database:h2" - testImplementation "com.navercorp.fixturemonkey:fixture-monkey-starter:0.3.5" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} - diff --git a/app/build.gradle.kts b/app/build.gradle.kts new file mode 100644 index 0000000..66c0446 --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,56 @@ +tasks.bootJar { + enabled = true +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") + kotlin("plugin.jpa") + kotlin("plugin.allopen") + kotlin("plugin.spring") apply false +} + +dependencies { + implementation(project(":notification-api:notification-presentation")) + implementation(project(":notification-api:notification-application")) + implementation(project(":notification-api:notification-domain")) + implementation(project(":notification-api:notification-infrastructure")) + + implementation(project(":account-api:account-presentation")) + implementation(project(":account-api:account-application")) + implementation(project(":account-api:account-domain")) + implementation(project(":account-api:account-infrastructure")) + + implementation(project(":order-api:order-presentation")) + implementation(project(":order-api:order-application")) + implementation(project(":order-api:order-domain")) + implementation(project(":order-api:order-infrastructure")) + + implementation(project(":payment-api:payment-presentation")) + implementation(project(":payment-api:payment-application")) + implementation(project(":payment-api:payment-domain")) + implementation(project(":payment-api:payment-infrastructure")) + + implementation(project(":product-api:product-presentation")) + implementation(project(":product-api:product-application")) + implementation(project(":product-api:product-domain")) + implementation(project(":product-api:product-infrastructure")) + + implementation(project(":query-api")) + implementation(project(":common")) + + implementation("org.springdoc:springdoc-openapi-ui:1.6.6") + implementation("org.springdoc:springdoc-openapi-security:1.6.6") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + implementation("org.springframework.boot:spring-boot-starter-security") + implementation("org.springframework.boot:spring-boot-starter-validation") + implementation("org.springframework.boot:spring-boot-starter-amqp") + implementation("it.ozimov:embedded-redis:0.7.2") + testImplementation("it.ozimov:embedded-redis:0.7.2") + runtimeOnly("com.mysql:mysql-connector-j") + implementation("org.flywaydb:flyway-mysql") + testImplementation("com.h2database:h2") + testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:0.3.5") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/build.gradle.kts b/build.gradle.kts index 07bcd24..c8bf4a1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,24 +8,18 @@ buildscript { } dependencies { - classpath("org.yaml:snakeyaml:1.28") classpath("org.jetbrains.kotlin:kotlin-allopen:1.8.20") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0-RC2") } } plugins { - id("org.springframework.boot") version "3.1.2" - id("io.spring.dependency-management") version "1.1.2" - id("org.jetbrains.kotlin.plugin.allopen") version "1.8.20" - id("org.jetbrains.kotlin.plugin.noarg") version "1.8.20" jacoco idea - kotlin("jvm") version "1.8.20" - kotlin("plugin.spring") version "1.8.20" - kotlin("plugin.jpa") version "1.8.20" - kotlin("kapt") version "1.8.20" + kotlin("jvm") + kotlin("kapt") + kotlin("plugin.noarg") } java { @@ -39,14 +33,6 @@ configurations { } } -tasks.jar { - enabled = true -} - -tasks.bootJar { - enabled = false -} - allprojects { repositories { maven("https://plugins.gradle.org/m2/") @@ -74,7 +60,8 @@ subprojects { } noArg { - annotation("com.kidsworld.core.annotation.NoArgsConstructor") + // spring, jpa 가 아니라서 플러그인이 적용되지 않는 코드에 noArg 적용하는 용도로 사용한다. + annotation("kr.flab.movieon.common.annotation.NoArgsConstructor") } dependencies { diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts new file mode 100644 index 0000000..3ebe418 --- /dev/null +++ b/buildSrc/build.gradle.kts @@ -0,0 +1,29 @@ +plugins { + `kotlin-dsl` +} + +repositories { + mavenCentral() + maven { + url = uri("https://plugins.gradle.org/m2/") + } +} + +/** + * 전체 프로젝트의 gradle plugin 버전을 지정 한다. + */ +object PluginVersion { + const val KOTLIN = "1.8.20" + const val SPRING_BOOT = "3.1.2" + const val SPRING_DEPENDENCY_MANAGEMENT = "1.1.2" + const val ASCIIDOCTOR = "3.3.2" +} + +dependencies { + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:${PluginVersion.KOTLIN}") + implementation("org.jetbrains.kotlin:kotlin-allopen:${PluginVersion.KOTLIN}") + implementation("org.jetbrains.kotlin:kotlin-noarg:${PluginVersion.KOTLIN}") + implementation("org.springframework.boot:spring-boot-gradle-plugin:${PluginVersion.SPRING_BOOT}") + implementation("io.spring.gradle:dependency-management-plugin:${PluginVersion.SPRING_DEPENDENCY_MANAGEMENT}") + implementation("org.asciidoctor:asciidoctor-gradle-jvm:${PluginVersion.ASCIIDOCTOR}") +} diff --git a/buildSrc/main/kotlin/Version.kt b/buildSrc/main/kotlin/Version.kt index 3cd3f03..e63ef44 100644 --- a/buildSrc/main/kotlin/Version.kt +++ b/buildSrc/main/kotlin/Version.kt @@ -1 +1,3 @@ -object Version +object Version { + val jakartaPersistenceApiVersion = "3.1.0" +} diff --git a/common/build.gradle b/common/build.gradle deleted file mode 100644 index 10da2f5..0000000 --- a/common/build.gradle +++ /dev/null @@ -1,4 +0,0 @@ -dependencies { - testImplementation "org.junit.jupiter:junit-jupiter-api" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" -} diff --git a/common/build.gradle.kts b/common/build.gradle.kts new file mode 100644 index 0000000..96cb870 --- /dev/null +++ b/common/build.gradle.kts @@ -0,0 +1,12 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +dependencies { + testImplementation("org.junit.jupiter:junit-jupiter-api") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") +} diff --git a/common/src/main/java/kr/flab/movieon/common/annotation/NoArgsConstructor.kt b/common/src/main/java/kr/flab/movieon/common/annotation/NoArgsConstructor.kt new file mode 100644 index 0000000..1d66dc1 --- /dev/null +++ b/common/src/main/java/kr/flab/movieon/common/annotation/NoArgsConstructor.kt @@ -0,0 +1,3 @@ +package kr.flab.movieon.common.annotation + +annotation class NoArgsConstructor diff --git a/gradle.properties b/gradle.properties index 13140f8..3c6a465 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,10 +1,8 @@ ### Application Version ### applicationVersion=0.0.1 - ### Project Groups ### projectGroups=kr.flab.movieon - ### Gradle Settings ### org.gradle.parallel=true org.gradle.caching=true -org.gradle.jvmargs=-Dfile.encoding=UTF-8 \ No newline at end of file +org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xms2048m -Xmx2048m diff --git a/notification-api/notification-application/build.gradle b/notification-api/notification-application/build.gradle deleted file mode 100644 index fba51db..0000000 --- a/notification-api/notification-application/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":notification-api:notification-domain") - implementation project(":common") - - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - testImplementation 'org.springframework.boot:spring-boot-starter-test' -} - diff --git a/notification-api/notification-application/build.gradle.kts b/notification-api/notification-application/build.gradle.kts new file mode 100644 index 0000000..bfda3a5 --- /dev/null +++ b/notification-api/notification-application/build.gradle.kts @@ -0,0 +1,20 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":notification-api:notification-domain")) + implementation(project(":common")) + + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/notification-api/notification-domain/build.gradle b/notification-api/notification-domain/build.gradle deleted file mode 100644 index 82ab8ed..0000000 --- a/notification-api/notification-domain/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -dependencies { - implementation project(":common") - implementation "jakarta.persistence:jakarta.persistence-api:3.1.0" - implementation "org.hibernate:hibernate-core:6.3.2.Final" - testImplementation "org.assertj:assertj-core" - testImplementation "org.junit.jupiter:junit-jupiter-api" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" -} diff --git a/notification-api/notification-domain/build.gradle.kts b/notification-api/notification-domain/build.gradle.kts new file mode 100644 index 0000000..d5eec94 --- /dev/null +++ b/notification-api/notification-domain/build.gradle.kts @@ -0,0 +1,16 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +dependencies { + implementation(project(":common")) + implementation("jakarta.persistence:jakarta.persistence-api:3.1.0") + implementation("org.hibernate:hibernate-core:6.3.2.Final") + testImplementation("org.assertj:assertj-core") + testImplementation("org.junit.jupiter:junit-jupiter-api") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") +} diff --git a/notification-api/notification-infrastructure/build.gradle b/notification-api/notification-infrastructure/build.gradle deleted file mode 100644 index ef09055..0000000 --- a/notification-api/notification-infrastructure/build.gradle +++ /dev/null @@ -1,17 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":notification-api:notification-domain") - implementation project(":common") - - implementation "com.github.ben-manes.caffeine:caffeine" - implementation "org.springframework.boot:spring-boot-starter-cache" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - implementation "org.springframework.boot:spring-boot-starter-mail" - implementation "org.springframework.boot:spring-boot-starter-thymeleaf" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} diff --git a/notification-api/notification-infrastructure/build.gradle.kts b/notification-api/notification-infrastructure/build.gradle.kts new file mode 100644 index 0000000..7a708b6 --- /dev/null +++ b/notification-api/notification-infrastructure/build.gradle.kts @@ -0,0 +1,25 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":notification-api:notification-domain")) + implementation(project(":common")) + + implementation("com.github.ben-manes.caffeine:caffeine") + implementation("org.springframework.boot:spring-boot-starter-cache") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + implementation("org.springframework.boot:spring-boot-starter-mail") + implementation("org.springframework.boot:spring-boot-starter-thymeleaf") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/notification-api/notification-presentation/build.gradle b/notification-api/notification-presentation/build.gradle deleted file mode 100644 index 54e3ccc..0000000 --- a/notification-api/notification-presentation/build.gradle +++ /dev/null @@ -1,15 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":notification-api:notification-application") - implementation project(":common") - implementation "org.springdoc:springdoc-openapi-ui:1.6.6" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-security" - implementation "org.springframework.boot:spring-boot-starter-validation" - testImplementation "org.springframework.security:spring-security-test" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} diff --git a/notification-api/notification-presentation/build.gradle.kts b/notification-api/notification-presentation/build.gradle.kts new file mode 100644 index 0000000..4d8d46f --- /dev/null +++ b/notification-api/notification-presentation/build.gradle.kts @@ -0,0 +1,23 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":notification-api:notification-application")) + implementation(project(":common")) + implementation("org.springdoc:springdoc-openapi-ui:1.6.6") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-security") + implementation("org.springframework.boot:spring-boot-starter-validation") + testImplementation("org.springframework.security:spring-security-test") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/order-api/order-application/build.gradle b/order-api/order-application/build.gradle deleted file mode 100644 index c2456b5..0000000 --- a/order-api/order-application/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":order-api:order-domain") - implementation project(":common") - - implementation "org.springframework.boot:spring-boot-starter-validation" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} diff --git a/order-api/order-application/build.gradle.kts b/order-api/order-application/build.gradle.kts new file mode 100644 index 0000000..096ecb6 --- /dev/null +++ b/order-api/order-application/build.gradle.kts @@ -0,0 +1,21 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":order-api:order-domain")) + implementation(project(":common")) + + implementation("org.springframework.boot:spring-boot-starter-validation") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/order-api/order-domain/build.gradle b/order-api/order-domain/build.gradle deleted file mode 100644 index 82ab8ed..0000000 --- a/order-api/order-domain/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -dependencies { - implementation project(":common") - implementation "jakarta.persistence:jakarta.persistence-api:3.1.0" - implementation "org.hibernate:hibernate-core:6.3.2.Final" - testImplementation "org.assertj:assertj-core" - testImplementation "org.junit.jupiter:junit-jupiter-api" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" -} diff --git a/order-api/order-domain/build.gradle.kts b/order-api/order-domain/build.gradle.kts new file mode 100644 index 0000000..d5eec94 --- /dev/null +++ b/order-api/order-domain/build.gradle.kts @@ -0,0 +1,16 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +dependencies { + implementation(project(":common")) + implementation("jakarta.persistence:jakarta.persistence-api:3.1.0") + implementation("org.hibernate:hibernate-core:6.3.2.Final") + testImplementation("org.assertj:assertj-core") + testImplementation("org.junit.jupiter:junit-jupiter-api") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") +} diff --git a/order-api/order-infrastructure/build.gradle b/order-api/order-infrastructure/build.gradle deleted file mode 100644 index 37d3c47..0000000 --- a/order-api/order-infrastructure/build.gradle +++ /dev/null @@ -1,14 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":order-api:order-domain") - implementation project(":common") - - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} - diff --git a/order-api/order-infrastructure/build.gradle.kts b/order-api/order-infrastructure/build.gradle.kts new file mode 100644 index 0000000..40c3f5e --- /dev/null +++ b/order-api/order-infrastructure/build.gradle.kts @@ -0,0 +1,21 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":order-api:order-domain")) + implementation(project(":common")) + + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/order-api/order-presentation/build.gradle b/order-api/order-presentation/build.gradle deleted file mode 100644 index 4b652ef..0000000 --- a/order-api/order-presentation/build.gradle +++ /dev/null @@ -1,15 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":order-api:order-application") - implementation project(":common") - implementation "org.springdoc:springdoc-openapi-ui:1.6.6" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-validation" - implementation "org.springframework.boot:spring-boot-starter-security" - testImplementation "org.springframework.security:spring-security-test" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} diff --git a/order-api/order-presentation/build.gradle.kts b/order-api/order-presentation/build.gradle.kts new file mode 100644 index 0000000..f22acde --- /dev/null +++ b/order-api/order-presentation/build.gradle.kts @@ -0,0 +1,23 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":order-api:order-application")) + implementation(project(":common")) + implementation("org.springdoc:springdoc-openapi-ui:1.6.6") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-validation") + implementation("org.springframework.boot:spring-boot-starter-security") + testImplementation("org.springframework.security:spring-security-test") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/payment-api/payment-application/build.gradle b/payment-api/payment-application/build.gradle deleted file mode 100644 index 9e4f8b8..0000000 --- a/payment-api/payment-application/build.gradle +++ /dev/null @@ -1,13 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":payment-api:payment-domain") - implementation project(":common") - implementation "org.springframework.boot:spring-boot-starter-validation" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} - diff --git a/payment-api/payment-application/build.gradle.kts b/payment-api/payment-application/build.gradle.kts new file mode 100644 index 0000000..167598c --- /dev/null +++ b/payment-api/payment-application/build.gradle.kts @@ -0,0 +1,20 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":payment-api:payment-domain")) + implementation(project(":common")) + implementation("org.springframework.boot:spring-boot-starter-validation") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/payment-api/payment-domain/build.gradle b/payment-api/payment-domain/build.gradle deleted file mode 100644 index 2c97282..0000000 --- a/payment-api/payment-domain/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -dependencies { - implementation project(":common") - implementation "jakarta.persistence:jakarta.persistence-api:3.1.0" - implementation "org.hibernate:hibernate-core:6.3.2.Final" - testImplementation "org.assertj:assertj-core:" - testImplementation "org.junit.jupiter:junit-jupiter-api" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" -} diff --git a/payment-api/payment-domain/build.gradle.kts b/payment-api/payment-domain/build.gradle.kts new file mode 100644 index 0000000..d5eec94 --- /dev/null +++ b/payment-api/payment-domain/build.gradle.kts @@ -0,0 +1,16 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +dependencies { + implementation(project(":common")) + implementation("jakarta.persistence:jakarta.persistence-api:3.1.0") + implementation("org.hibernate:hibernate-core:6.3.2.Final") + testImplementation("org.assertj:assertj-core") + testImplementation("org.junit.jupiter:junit-jupiter-api") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") +} diff --git a/payment-api/payment-infrastructure/build.gradle b/payment-api/payment-infrastructure/build.gradle deleted file mode 100644 index 71f4168..0000000 --- a/payment-api/payment-infrastructure/build.gradle +++ /dev/null @@ -1,21 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -configurations { - compileOnly { - extendsFrom annotationProcessor - } -} - -dependencies { - implementation project(":payment-api:payment-domain") - implementation project(":common") - implementation "org.springframework.boot:spring-boot-starter-amqp" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - implementation "org.springframework.boot:spring-boot-starter-web" - testImplementation "org.springframework.boot:spring-boot-starter-test" - annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" -} - diff --git a/payment-api/payment-infrastructure/build.gradle.kts b/payment-api/payment-infrastructure/build.gradle.kts new file mode 100644 index 0000000..41907db --- /dev/null +++ b/payment-api/payment-infrastructure/build.gradle.kts @@ -0,0 +1,28 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +configurations { + compileOnly { + extendsFrom(configurations.annotationProcessor.get()) + } +} + +dependencies { + implementation(project(":payment-api:payment-domain")) + implementation(project(":common")) + implementation("org.springframework.boot:spring-boot-starter-amqp") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + implementation("org.springframework.boot:spring-boot-starter-web") + testImplementation("org.springframework.boot:spring-boot-starter-test") + annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") +} diff --git a/payment-api/payment-presentation/build.gradle b/payment-api/payment-presentation/build.gradle deleted file mode 100644 index dcb1a1d..0000000 --- a/payment-api/payment-presentation/build.gradle +++ /dev/null @@ -1,15 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":payment-api:payment-application") - implementation project(":common") - implementation "org.springdoc:springdoc-openapi-ui:1.6.6" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-security" - implementation "org.springframework.boot:spring-boot-starter-validation" - testImplementation "org.springframework.security:spring-security-test" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} diff --git a/payment-api/payment-presentation/build.gradle.kts b/payment-api/payment-presentation/build.gradle.kts new file mode 100644 index 0000000..c615da0 --- /dev/null +++ b/payment-api/payment-presentation/build.gradle.kts @@ -0,0 +1,23 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":payment-api:payment-application")) + implementation(project(":common")) + implementation("org.springdoc:springdoc-openapi-ui:1.6.6") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-security") + implementation("org.springframework.boot:spring-boot-starter-validation") + testImplementation("org.springframework.security:spring-security-test") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/product-api/product-application/build.gradle b/product-api/product-application/build.gradle deleted file mode 100644 index 7af7d30..0000000 --- a/product-api/product-application/build.gradle +++ /dev/null @@ -1,15 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":product-api:product-domain") - implementation project(":common") - - testImplementation "com.navercorp.fixturemonkey:fixture-monkey-starter:0.3.5" - implementation "org.springframework.boot:spring-boot-starter-validation" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - testImplementation 'org.springframework.boot:spring-boot-starter-test' -} - diff --git a/product-api/product-application/build.gradle.kts b/product-api/product-application/build.gradle.kts new file mode 100644 index 0000000..8a893e4 --- /dev/null +++ b/product-api/product-application/build.gradle.kts @@ -0,0 +1,22 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":product-api:product-domain")) + implementation(project(":common")) + + testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:0.3.5") + implementation("org.springframework.boot:spring-boot-starter-validation") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/product-api/product-domain/build.gradle b/product-api/product-domain/build.gradle deleted file mode 100644 index 82ab8ed..0000000 --- a/product-api/product-domain/build.gradle +++ /dev/null @@ -1,8 +0,0 @@ -dependencies { - implementation project(":common") - implementation "jakarta.persistence:jakarta.persistence-api:3.1.0" - implementation "org.hibernate:hibernate-core:6.3.2.Final" - testImplementation "org.assertj:assertj-core" - testImplementation "org.junit.jupiter:junit-jupiter-api" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" -} diff --git a/product-api/product-domain/build.gradle.kts b/product-api/product-domain/build.gradle.kts new file mode 100644 index 0000000..d5eec94 --- /dev/null +++ b/product-api/product-domain/build.gradle.kts @@ -0,0 +1,16 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +dependencies { + implementation(project(":common")) + implementation("jakarta.persistence:jakarta.persistence-api:3.1.0") + implementation("org.hibernate:hibernate-core:6.3.2.Final") + testImplementation("org.assertj:assertj-core") + testImplementation("org.junit.jupiter:junit-jupiter-api") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") +} diff --git a/product-api/product-infrastructure/build.gradle b/product-api/product-infrastructure/build.gradle deleted file mode 100644 index 59a7003..0000000 --- a/product-api/product-infrastructure/build.gradle +++ /dev/null @@ -1,14 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":product-api:product-domain") - implementation project(":common") - - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} - diff --git a/product-api/product-infrastructure/build.gradle.kts b/product-api/product-infrastructure/build.gradle.kts new file mode 100644 index 0000000..951ea5f --- /dev/null +++ b/product-api/product-infrastructure/build.gradle.kts @@ -0,0 +1,21 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":product-api:product-domain")) + implementation(project(":common")) + + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/product-api/product-presentation/build.gradle b/product-api/product-presentation/build.gradle deleted file mode 100644 index 00aae99..0000000 --- a/product-api/product-presentation/build.gradle +++ /dev/null @@ -1,16 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":product-api:product-application") - implementation project(":common") - implementation "org.springdoc:springdoc-openapi-ui:1.6.6" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.springframework.boot:spring-boot-starter-security" - implementation "org.springframework.boot:spring-boot-starter-validation" - testImplementation "com.navercorp.fixturemonkey:fixture-monkey-starter:0.3.1" - testImplementation "org.springframework.security:spring-security-test" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} diff --git a/product-api/product-presentation/build.gradle.kts b/product-api/product-presentation/build.gradle.kts new file mode 100644 index 0000000..35b0669 --- /dev/null +++ b/product-api/product-presentation/build.gradle.kts @@ -0,0 +1,26 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":product-api:product-application")) + implementation(project(":common")) + implementation("org.springdoc:springdoc-openapi-ui:1.6.6") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.springframework.boot:spring-boot-starter-security") + implementation("org.springframework.boot:spring-boot-starter-validation") + testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:0.3.1") + // com.navercorp.fixturemonkey - org.glassfish:jakarta.el:3.0.3 보안 이슈로 버전 변경 (CVE-2021-28170) + testImplementation("org.glassfish:jakarta.el:3.0.4") + testImplementation("org.springframework.security:spring-security-test") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/query-api/build.gradle b/query-api/build.gradle deleted file mode 100644 index 6548bdc..0000000 --- a/query-api/build.gradle +++ /dev/null @@ -1,14 +0,0 @@ -plugins { - id 'org.springframework.boot' version '3.1.2' - id 'io.spring.dependency-management' version '1.1.2' -} - -dependencies { - implementation project(":common") - implementation "org.springdoc:springdoc-openapi-ui:1.6.6" - implementation "org.springframework.boot:spring-boot-starter-data-redis" - implementation "org.springframework.boot:spring-boot-starter-security" - implementation "org.springframework.boot:spring-boot-starter-web" - implementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.2" - testImplementation "org.springframework.boot:spring-boot-starter-test" -} diff --git a/query-api/build.gradle.kts b/query-api/build.gradle.kts new file mode 100644 index 0000000..0078eeb --- /dev/null +++ b/query-api/build.gradle.kts @@ -0,0 +1,22 @@ +tasks.jar { + enabled = true +} + +tasks.bootJar { + enabled = false +} + +plugins { + id("org.springframework.boot") + id("io.spring.dependency-management") +} + +dependencies { + implementation(project(":common")) + implementation("org.springdoc:springdoc-openapi-ui:1.6.6") + implementation("org.springframework.boot:spring-boot-starter-data-redis") + implementation("org.springframework.boot:spring-boot-starter-security") + implementation("org.springframework.boot:spring-boot-starter-web") + implementation("org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.2") + testImplementation("org.springframework.boot:spring-boot-starter-test") +} diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index 20fe5af..0000000 --- a/settings.gradle +++ /dev/null @@ -1,40 +0,0 @@ -rootProject.name = 'MovieOn' -include 'app' -include 'common' -include ( - 'product-api', - 'product-api:product-presentation', - 'product-api:product-application', - 'product-api:product-domain', - 'product-api:product-infrastructure', -) -include ( - 'payment-api', - 'payment-api:payment-presentation', - 'payment-api:payment-application', - 'payment-api:payment-domain', - 'payment-api:payment-infrastructure', -) -include( - 'account-api', - 'account-api:account-presentation', - 'account-api:account-application', - 'account-api:account-domain', - 'account-api:account-infrastructure', -) -include ( - 'notification-api', - 'notification-api:notification-presentation', - 'notification-api:notification-application', - 'notification-api:notification-domain', - 'notification-api:notification-infrastructure', -) -include ( - 'order-api', - 'order-api:order-presentation', - 'order-api:order-application', - 'order-api:order-domain', - 'order-api:order-infrastructure', -) -include 'query-api' - diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..a5dcb64 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,47 @@ +rootProject.name = "MovieOn" + +include("app") +include("common") + +include( + "product-api", + "product-api:product-presentation", + "product-api:product-application", + "product-api:product-domain", + "product-api:product-infrastructure" +) + +include( + "payment-api", + "payment-api:payment-presentation", + "payment-api:payment-application", + "payment-api:payment-domain", + "payment-api:payment-infrastructure" +) + +include( + "account-api", + "account-api:account-presentation", + "account-api:account-application", + "account-api:account-domain", + "account-api:account-infrastructure" +) + +include( + "notification-api", + "notification-api:notification-presentation", + "notification-api:notification-application", + "notification-api:notification-domain", + "notification-api:notification-infrastructure" +) + +include( + "order-api", + "order-api:order-presentation", + "order-api:order-application", + "order-api:order-domain", + "order-api:order-infrastructure" +) + +include("query-api") +