Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Mar 1, 2018
1 parent 92bebbf commit 956851d
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,15 @@ plugins {

version = "1.0.0-SNAPSHOT"

tasks {
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjsr305=strict")
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjsr305=strict")
}
}

// TODO To be replaced by test { } support when available in Gradle Kotlin DSL
withType<Test> {
useJUnitPlatform()
}
val test by tasks.getting(Test::class) {
useJUnitPlatform()
}

repositories {
Expand Down

0 comments on commit 956851d

Please sign in to comment.