32 lines
576 B
Groovy
32 lines
576 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
}
|
|
|
|
group = 'io.github.eldek0'
|
|
version = "$projectVersion"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
maven { url = 'https://jitpack.io' }
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':core')
|
|
implementation "com.google.code.gson:gson:$gsonVersion"
|
|
|
|
|
|
testImplementation platform('org.junit:junit-bom:5.10.0')
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'io.github.eldek0.GameServer'
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|