Files
apollo/game/build.gradle
T
Gary Tierney 182de0330f Allow multiple players per test
Refactors the test helpers to use receiver functions so multiple players
can exist in the world per test case.  The AddFriendsTest is an example
of where this is needed.

Additionally, Hamcrest has been replaced with AssertJ for fluent
assertions.
2017-06-20 02:33:27 +01:00

44 lines
1.1 KiB
Groovy

description = 'Apollo Game'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath group: 'com.moandjiezana.toml', name: 'toml4j', version: '0.7.1'
}
}
ext.pluginsDir = "$projectDir/src/plugins"
apply plugin: 'kotlin'
apply from: 'plugins.gradle'
sourceSets {
main {
kotlin {
exclude 'stub.kt'
}
}
}
dependencies {
compile project(':cache')
compile project(':net')
compile project(':util')
compile group: 'io.github.lukehutch', name: 'fast-classpath-scanner', version: '2.0.21'
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jre8', version: "$kotlinVersion"
compile group: 'org.jetbrains.kotlin', name: 'kotlin-compiler-embeddable', version: "$kotlinVersion"
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.8.0'
}
task run(type: JavaExec, dependsOn: classes) {
main = 'org.apollo.Server'
classpath = sourceSets.main.runtimeClasspath
jvmArgs = ['-Xmx1750M']
workingDir = "$rootDir"
}