diff --git a/Kotlin/build.gradle.kts b/Kotlin/build.gradle.kts index 4d392304..618096d1 100644 --- a/Kotlin/build.gradle.kts +++ b/Kotlin/build.gradle.kts @@ -24,6 +24,14 @@ tasks.test { } } +tasks.register("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().configureEach { kotlinOptions.jvmTarget = "1.8"