mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
Merge pull request #613 from olliekennedy/fix-kotlin-texttest
Enable texttest to run in the Kotlin project
This commit is contained in:
commit
fcd540f80d
@ -24,6 +24,14 @@ tasks.test {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register<JavaExec>("texttest") {
|
||||
description = "Allow you to run text-based approval tests with texttest"
|
||||
group = JavaBasePlugin.BUILD_TASK_NAME
|
||||
mainClass.set("com.gildedrose.TexttestFixtureKt")
|
||||
classpath = sourceSets["test"].runtimeClasspath
|
||||
args("30")
|
||||
}
|
||||
|
||||
// config JVM target to 1.8 for kotlin compilation tasks
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user