mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-20 04:45:06 +00:00
Upgrade kotlin to 1.4.0, junit to 5.6.2 & gradle to 6.6
This commit is contained in:
1 parent
cd4e977616
commit
cce7b6381f
7 files changed
+72
-47
No files matched your search
@@ -0,0 +1,29 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.4.0"
|
||||
}
|
||||
|
||||
group = "com.gildedrose"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib"))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.6.2")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
events("passed", "skipped", "failed")
|
||||
}
|
||||
}
|
||||
|
||||
// config JVM target to 1.8 for kotlin compilation tasks
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
Reference in new issue
Block a user