2025-01-23 11:45:13 +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')
|
|
|
|
|
// https://mvnrepository.com/artifact/org.assertj/assertj-core
|
|
|
|
|
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.24.2'
|
2025-01-30 10:59:27 +01:00
|
|
|
testImplementation "org.mockito:mockito-core:3.+"
|
2025-01-23 11:45:13 +01:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
test {
|
|
|
|
|
useJUnitPlatform()
|
|
|
|
|
testLogging {
|
|
|
|
|
events "passed", "skipped", "failed"
|
|
|
|
|
}
|
|
|
|
|
}
|