Files
Theatrical-Players-Refactor…/kotlin/build.gradle
Emily Bache 2e599e4f1d Use approval testing framework for statement printer test
It's better to store the expected text in a separate file instead of mixed
in together with the kotlin test code. This is for several reasons
- it is easier to read when the expected value is on several lines
- it is easier to update using a diff merge tool
- it is easier to read the VCS history since it will probably change
more frequently than the rest of the test code
2019-09-10 10:40:56 +02:00

32 lines
660 B
Groovy

plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
}
group 'com.kata'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
testCompile("org.junit.jupiter:junit-jupiter-params:5.4.2")
testCompile 'com.approvaltests:approvaltests:3.2.0'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}