23 lines
489 B
Groovy
23 lines
489 B
Groovy
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'
|
|
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events "passed", "skipped", "failed"
|
|
}
|
|
}
|