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 { dependencies {
implementation project(':common') implementation project(':common')
implementation 'com.mysql:mysql-connector-j' runtimeOnly '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"
}

View File

@ -42,7 +42,7 @@ subprojects {
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.3' implementation 'io.jsonwebtoken:jjwt-jackson:0.12.3'
compileOnly 'org.projectlombok:lombok' compileOnly 'org.projectlombok:lombok'
annotationProcessor '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.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test' testImplementation 'org.springframework.security:spring-security-test'
} }
@ -50,4 +50,4 @@ subprojects {
tasks.named('test') { tasks.named('test') {
useJUnitPlatform() useJUnitPlatform()
} }
} }

View File

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

View File

@ -1,10 +1,4 @@
dependencies { dependencies {
implementation project(':common') implementation project(':common')
implementation 'com.mysql:mysql-connector-j' runtimeOnly '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"
}

View File

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

View File

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