Skip to content

Commit

Permalink
Add Kotlin to project.
Browse files Browse the repository at this point in the history
  • Loading branch information
cstroe committed Dec 7, 2018
1 parent 2d2c721 commit 1d6de67
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("java")
id("com.gradle.build-scan") version "2.0.2"
id("org.springframework.boot") version "2.1.1.RELEASE"
kotlin("jvm") version "1.3.11"
}

repositories {
Expand Down Expand Up @@ -46,4 +49,17 @@ dependencies {

// integrationTestCompile("org.seleniumhq.selenium:selenium-java:3.13.0")
// integrationTestCompile("org.seleniumhq.selenium:selenium-remote-driver:3.13.0")
compile(kotlin("stdlib-jdk8"))
}

val compileKotlin: KotlinCompile by tasks

compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}

val compileTestKotlin: KotlinCompile by tasks

compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}

0 comments on commit 1d6de67

Please sign in to comment.