Java: run text fixture from cli

This commit is contained in:
Nitsan Avni committed 2022-11-27 16:14:50 +00:00
1 parent ac8fce7557
commit bd93f794bf
2 files changed
+20

No files matched your search

+5
View File
@@ -19,3 +19,8 @@ sourceCompatibility = '1.8'
test {
useJUnitPlatform()
}
task text(type: JavaExec) {
main = "com.gildedrose.TexttestFixture"
classpath = sourceSets.test.runtimeClasspath
}