Files
apollo/game/plugin-testing/build.gradle
T
Major- fd52ee6026 Add @DefinitionSource annotations
Allows parameterized tests to use Item, Npc, and Object definitions
as @ArgumentSources.

This commit also adds support for using @ItemDefinitions etc on
properties as well as functions.
2018-08-25 12:03:53 +01:00

28 lines
1.0 KiB
Groovy

apply plugin: 'java-library'
apply plugin: 'org.jetbrains.kotlin.jvm'
apply from: "$rootDir/gradle/kotlin.gradle"
dependencies {
test.useJUnitPlatform()
api project(':game')
api project(':net')
// JUnit Jupiter API and TestEngine implementation
api("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
api("org.junit.jupiter:junit-jupiter-params:${junitJupiterVersion}")
implementation("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
implementation("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}")
api group: 'io.mockk', name: 'mockk', version: mockkVersion
api group: 'org.assertj', name: 'assertj-core', version: assertjVersion
api group: 'com.willowtreeapps.assertk', name: 'assertk', version: assertkVersion
implementation group: 'org.powermock', name: 'powermock-module-junit4', version: powermockVersion
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}