fix: build

This commit is contained in:
unknown 2025-06-11 11:30:59 +09:00
parent 1e809c4b59
commit f6d4380dc7
6 changed files with 26 additions and 57 deletions

View File

@ -1,16 +1,4 @@
dependencies {
implementation project(':common')
implementation 'com.mysql:mysql-connector-j'
// HTTP Client for external API
implementation 'org.springframework.boot:spring-boot-starter-webflux'
}
//external:
// ai:
// api-url: ${EXTERNAL_AI_URL:https://api.openai.com/v1}
// api-key: ${EXTERNAL_AI_KEY:your-api-key}
bootJar {
archiveFileName = "ai-recommend-service.jar"
}
runtimeOnly 'com.mysql:mysql-connector-j'
}

View File

@ -42,7 +42,7 @@ subprojects {
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.3'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
implementation 'com.mysql:mysql-connector-j'
runtimeOnly 'com.mysql:mysql-connector-j'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
@ -50,4 +50,4 @@ subprojects {
tasks.named('test') {
useJUnitPlatform()
}
}
}

View File

@ -1,32 +1,23 @@
bootJar {
enabled = false
}
jar {
enabled = true
archiveClassifier = ''
}
bootJar {
enabled = false
}
// member/build.gradle
// (API )
dependencies {
implementation project(':common')
runtimeOnly 'com.mysql:mysql-connector-j'
}
// store/build.gradle
dependencies {
implementation project(':common')
runtimeOnly 'com.mysql:mysql-connector-j'
}
// marketing-content/build.gradle
dependencies {
implementation project(':common')
runtimeOnly 'com.mysql:mysql-connector-j'
}
// ai-recommend/build.gradle
dependencies {
implementation project(':common')
runtimeOnly 'com.mysql:mysql-connector-j'
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-data-redis'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
implementation 'io.jsonwebtoken:jjwt-api:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.3'
implementation 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
}

View File

@ -1,10 +1,4 @@
dependencies {
implementation project(':common')
implementation 'com.mysql:mysql-connector-j'
// HTTP Client for external AI API
implementation 'org.springframework.boot:spring-boot-starter-webflux'
}
bootJar {
archiveFileName = "marketing-content-service.jar"
}
runtimeOnly 'com.mysql:mysql-connector-j'
}

View File

@ -1,4 +1,4 @@
dependencies {
implementation project(':common')
implementation 'com.mysql:mysql-connector-j'
}
runtimeOnly 'com.mysql:mysql-connector-j'
}

View File

@ -1,8 +1,4 @@
dependencies {
implementation project(':common')
implementation 'com.mysql:mysql-connector-j'
}
bootJar {
archiveFileName = "store-service.jar"
}
runtimeOnly 'com.mysql:mysql-connector-j'
}