Skip to content

Commit

Permalink
Update dependencies to JUnit 5.4.2 (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Schnelle authored Apr 8, 2019
1 parent e6a4eb4 commit fbe06fc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand All @@ -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")
}
}
```
Expand All @@ -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"
}
```
</details>
Expand All @@ -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")
}
```
</details>
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Artifacts.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit fbe06fc

Please sign in to comment.