Converted code to kotlin

This commit is contained in:
khoovis
2019-09-08 12:29:31 +01:00
parent c97c943c1b
commit f698110490
13 changed files with 457 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.50'
}
group 'com.kata'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
testCompile("org.junit.jupiter:junit-jupiter-params:5.4.2")
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}