Skip to content

Commit

Permalink
Fixes test run from Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-gr committed May 6, 2018
1 parent f026558 commit 6fed427
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions m3uparser/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
ext.kotlin_version = "1.2.41"
ext.junitPlatformVersion = "1.0.2"
ext.junitJupiterVersion = "5.0.2"
ext.junitPlatformVersion = "1.2.0"
ext.junitJupiterVersion = "5.2.0"
ext.antlrVersion = "4.7"
ext.assertJVersion = "3.9.1"

Expand All @@ -10,7 +10,6 @@ buildscript {
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
classpath("org.junit.platform:junit-platform-gradle-plugin:$junitPlatformVersion")
}
}

Expand All @@ -19,13 +18,16 @@ plugins {
id "com.gradle.build-scan" version "1.13.1"
}

test {
useJUnitPlatform()
}

buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}

apply plugin: "kotlin"
apply plugin: "org.junit.platform.gradle.plugin"
apply plugin: "antlr"
apply plugin: "idea"

Expand All @@ -43,10 +45,10 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version")

testImplementation("org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion")
testImplementation("org.junit.jupiter:junit-jupiter-params:$junitJupiterVersion")
testImplementation("org.assertj:assertj-core:$assertJVersion")

testRuntime("org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion")
testRuntime("org.junit.jupiter:junit-jupiter-params:$junitJupiterVersion")
testRuntime("org.junit.platform:junit-platform-launcher:$junitPlatformVersion")
}

Expand Down

0 comments on commit 6fed427

Please sign in to comment.