kry-ctr-spn/build.gradle

35 lines
565 B
Groovy
Raw Normal View History

2022-03-17 10:55:48 +00:00
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()
}