35 lines
619 B
Groovy
35 lines
619 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '1.0.0'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// YAML parsing
|
|
implementation 'org.yaml:snakeyaml:2.2'
|
|
|
|
// JUnit 5 testing
|
|
testImplementation platform('org.junit:junit-bom:5.10.2')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-params'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events 'passed', 'skipped', 'failed'
|
|
showStandardStreams = true
|
|
}
|
|
}
|