mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-01-18 01:16:39 +01:00
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
32 lines
660 B
Groovy
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"
|
|
} |