Fixed gradle tests running
This commit is contained in:
parent
6152303243
commit
c551c01be8
@ -12,12 +12,19 @@ configurations {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-security'
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||||
|
|
||||||
compileOnly 'org.projectlombok:lombok'
|
compileOnly 'org.projectlombok:lombok'
|
||||||
annotationProcessor 'org.projectlombok:lombok'
|
annotationProcessor 'org.projectlombok:lombok'
|
||||||
|
|
||||||
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'
|
||||||
|
testImplementation 'org.mockito:mockito-junit-jupiter:4.2.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('bootBuildImage') {
|
tasks.named('bootBuildImage') {
|
||||||
builder = 'paketobuildpacks/builder-jammy-base:latest'
|
builder = 'paketobuildpacks/builder-jammy-base:latest'
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named('test') {
|
||||||
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user