From fbe06fcca5e9e340c34e919e84a0e881661690c5 Mon Sep 17 00:00:00 2001 From: Marcel Schnelle Date: Mon, 8 Apr 2019 20:30:38 +0200 Subject: [PATCH] Update dependencies to JUnit 5.4.2 (#162) --- README.md | 24 ++++++++++++------------ buildSrc/src/main/kotlin/Artifacts.kt | 2 +- buildSrc/src/main/kotlin/Versions.kt | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 66e2355d..14c23cf7 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Furthermore, this repository provides a small showcase of the functionality prov ```groovy buildscript { dependencies { - classpath "de.mannodermaus.gradle.plugins:android-junit5:1.4.1.0" + classpath "de.mannodermaus.gradle.plugins:android-junit5:1.4.2.0" } } ``` @@ -31,7 +31,7 @@ Furthermore, this repository provides a small showcase of the functionality prov ```kotlin buildscript { dependencies { - classpath("de.mannodermaus.gradle.plugins:android-junit5:1.4.1.0") + classpath("de.mannodermaus.gradle.plugins:android-junit5:1.4.2.0") } } ``` @@ -51,15 +51,15 @@ Snapshots of the development version are available through [Sonatype's `snapshot dependencies { // (Required) Writing and executing Unit Tests on the JUnit Platform - testImplementation "org.junit.jupiter:junit-jupiter-api:5.4.1" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.4.1" + testImplementation "org.junit.jupiter:junit-jupiter-api:5.4.2" + testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.4.2" // (Optional) If you need "Parameterized Tests" - testImplementation "org.junit.jupiter:junit-jupiter-params:5.4.1" + testImplementation "org.junit.jupiter:junit-jupiter-params:5.4.2" // (Optional) If you also have JUnit 4-based tests testImplementation "junit:junit:4.12" - testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.4.1" + testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.4.2" } ``` @@ -74,15 +74,15 @@ Snapshots of the development version are available through [Sonatype's `snapshot dependencies { // (Required) Writing and executing Unit Tests on the JUnit Platform - testImplementation("org.junit.jupiter:junit-jupiter-api:5.4.1") - testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.4.1") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.4.2") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.4.2") // (Optional) If you need "Parameterized Tests" - testImplementation("org.junit.jupiter:junit-jupiter-params:5.4.1") + testImplementation("org.junit.jupiter:junit-jupiter-params:5.4.2") // (Optional) If you also have JUnit 4-based tests testImplementation("junit:junit:4.12") - testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.4.1") + testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.4.2") } ``` @@ -130,7 +130,7 @@ To start writing instrumentation tests with JUnit Jupiter, make the following ch dependencies { // 5) Jupiter API & Test Runner, if you don't have it already androidTestImplementation "androidx.test:runner:1.1.1" - androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.4.1" + androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.4.2" // 6) The instrumentation test companion libraries androidTestImplementation "de.mannodermaus.junit5:android-test-core:1.0.0" @@ -165,7 +165,7 @@ To start writing instrumentation tests with JUnit Jupiter, make the following ch dependencies { // 5) Jupiter API & Test Runner, if you don't have it already androidTestImplementation("androidx.test:runner:1.1.1") - androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.4.1") + androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.4.2") // 6) The instrumentation test companion libraries androidTestImplementation("de.mannodermaus.junit5:android-test-core:1.0.0") diff --git a/buildSrc/src/main/kotlin/Artifacts.kt b/buildSrc/src/main/kotlin/Artifacts.kt index cf8fbca7..37cf20c6 100644 --- a/buildSrc/src/main/kotlin/Artifacts.kt +++ b/buildSrc/src/main/kotlin/Artifacts.kt @@ -35,7 +35,7 @@ object Artifacts { platform = Java, groupId = "de.mannodermaus.gradle.plugins", artifactId = "android-junit5", - currentVersion = "1.4.1.1-SNAPSHOT", + currentVersion = "1.4.2.0-SNAPSHOT", latestStableVersion = "1.4.1.0", license = license, description = "Unit Testing with JUnit 5 for Android." diff --git a/buildSrc/src/main/kotlin/Versions.kt b/buildSrc/src/main/kotlin/Versions.kt index 46cba4c8..ae4dba19 100644 --- a/buildSrc/src/main/kotlin/Versions.kt +++ b/buildSrc/src/main/kotlin/Versions.kt @@ -62,11 +62,11 @@ object Versions { const val junit_pioneer: String = "0.2.2" // available: "0.3.0" - const val org_junit_jupiter: String = "5.4.1" + const val org_junit_jupiter: String = "5.4.2" - const val org_junit_platform: String = "1.4.1" + const val org_junit_platform: String = "1.4.2" - const val junit_vintage_engine: String = "5.4.1" + const val junit_vintage_engine: String = "5.4.2" const val mockito_core: String = "2.19.0" // available: "2.23.4"