ultimatetictactoe-java/build.gradle

30 lines
645 B
Groovy

plugins {
id 'java'
id 'org.beryx.jlink' version '2.24.4'
}
group 'de.icaotix.ultimatetictactoe'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
jlink {
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher{
name = 'Ultimate TicTacToe'
jvmArgs = ['-Dlog4j.configurationFile=./log4j2.xml']
noConsole = true
}
mainClass = "de.icaotix.ultimatetictactoe.Main"
}
test {
useJUnitPlatform()
}