mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
41 lines
737 B
Plaintext
41 lines
737 B
Plaintext
plugins {
|
|
kotlin("jvm") version "2.1.20"
|
|
application
|
|
}
|
|
|
|
group = "com.gildedrose"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(kotlin("stdlib"))
|
|
testImplementation(kotlin("test"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.12.2")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
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")
|
|
}
|
|
|
|
|
|
application {
|
|
mainClass.set("com.gildedrose.TexttestFixtureKt")
|
|
}
|