24 lines
472 B
Groovy
24 lines
472 B
Groovy
|
|
plugins {
|
||
|
|
id 'java'
|
||
|
|
id 'eclipse' // optional (to generate Eclipse project files)
|
||
|
|
id 'idea' // optional (to generate IntelliJ IDEA project files)
|
||
|
|
id 'jacoco'
|
||
|
|
}
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
mavenCentral()
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
testImplementation(platform('org.junit:junit-bom:5.10.0'))
|
||
|
|
testImplementation('org.junit.jupiter:junit-jupiter')
|
||
|
|
testImplementation('org.assertj:assertj-core:3.23.1')
|
||
|
|
}
|
||
|
|
|
||
|
|
test {
|
||
|
|
useJUnitPlatform()
|
||
|
|
testLogging {
|
||
|
|
events "passed", "skipped", "failed"
|
||
|
|
}
|
||
|
|
}
|