27 lines
1.3 KiB
Groovy
27 lines
1.3 KiB
Groovy
apply plugin: 'org.jetbrains.kotlin.kapt'
|
|||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation project(':platform:platform-web')
|
||
|
|
implementation project(':platform:platform-security')
|
||
|
|
implementation project(':platform:platform-persistence')
|
||
|
|
implementation project(':platform:platform-observability')
|
||
|
|
implementation project(':domains:identity-store-contract')
|
||
|
|
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||
|
|
|
||
|
|
implementation 'org.mapstruct:mapstruct:1.6.3'
|
||
|
|
kapt 'org.mapstruct:mapstruct-processor:1.6.3'
|
||
|
|
|
||
|
|
testImplementation 'com.ninja-squad:springmockk:5.0.1'
|
||
|
|
// Boot 4 把测试切片按技术栈拆成了独立模块:@DataJpaTest / @AutoConfigureTestDatabase
|
||
|
|
// 不再随 spring-boot-starter-test 一起来,要单独引这个 starter
|
||
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa-test'
|
||
|
|
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
|
||
|
|
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
|
||
|
|
testImplementation 'org.testcontainers:testcontainers-mysql'
|
||
|
|
testRuntimeOnly 'com.mysql:mysql-connector-j'
|
||
|
|
}
|