2025-02-04 10:03:39 +01:00
|
|
|
plugins {
|
|
|
|
|
id 'java'
|
|
|
|
|
id 'idea' // optional (to generate IntelliJ IDEA project files)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
testImplementation(platform('org.junit:junit-bom:5.10.0'))
|
|
|
|
|
testImplementation('org.junit.jupiter:junit-jupiter')
|
2025-02-04 10:51:36 +01:00
|
|
|
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.24.2'
|
|
|
|
|
testImplementation "org.mockito:mockito-core:3.+"
|
2025-02-04 10:03:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
test {
|
|
|
|
|
useJUnitPlatform()
|
|
|
|
|
testLogging {
|
|
|
|
|
events "passed", "skipped", "failed"
|
|
|
|
|
}
|
|
|
|
|
}
|