35 lines
565 B
Groovy
35 lines
565 B
Groovy
|
plugins {
|
||
|
id 'application'
|
||
|
}
|
||
|
|
||
|
group 'ch.fhnw.kry'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
|
||
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
|
||
|
}
|
||
|
|
||
|
application {
|
||
|
mainClass = 'ch.fhnw.kry.Main'
|
||
|
}
|
||
|
|
||
|
jar {
|
||
|
manifest {
|
||
|
attributes(
|
||
|
'Main-Class': 'ch.fhnw.kry.Main'
|
||
|
)
|
||
|
}
|
||
|
from {
|
||
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||
|
}
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|