Skip to content

Commit d18f117

Browse files
authored
Update to JUnit 5.12.2 (#373)
* Update Readme * Update to JUnit 5.12.2
1 parent 7587327 commit d18f117

File tree

4 files changed

+21
-20
lines changed

4 files changed

+21
-20
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ To get started, declare the plugin in your `app` module's build script alongside
2222

2323
```kotlin
2424
plugins {
25-
id("de.mannodermaus.android-junit5") version "1.12.0.0"
25+
id("de.mannodermaus.android-junit5") version "1.12.1.0"
2626
}
2727

2828
dependencies {
2929
// (Required) Writing and executing Unit Tests on the JUnit Platform
30-
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.0")
31-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.12.0")
30+
testImplementation("org.junit.jupiter:junit-jupiter-api:5.12.1")
31+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.12.1")
3232

3333
// (Optional) If you need "Parameterized Tests"
34-
testImplementation("org.junit.jupiter:junit-jupiter-params:5.12.0")
34+
testImplementation("org.junit.jupiter:junit-jupiter-params:5.12.1")
3535

3636
// (Optional) If you also have JUnit 4-based tests
3737
testImplementation("junit:junit:4.13.2")
38-
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.12.0")
38+
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.12.1")
3939
}
4040
```
4141
</details>
@@ -45,20 +45,20 @@ To get started, declare the plugin in your `app` module's build script alongside
4545

4646
```groovy
4747
plugins {
48-
id "de.mannodermaus.android-junit5" version "1.12.0.0"
48+
id "de.mannodermaus.android-junit5" version "1.12.1.0"
4949
}
5050
5151
dependencies {
5252
// (Required) Writing and executing Unit Tests on the JUnit Platform
53-
testImplementation "org.junit.jupiter:junit-jupiter-api:5.12.0"
54-
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.12.0"
53+
testImplementation "org.junit.jupiter:junit-jupiter-api:5.12.1"
54+
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.12.1"
5555
5656
// (Optional) If you need "Parameterized Tests"
57-
testImplementation "org.junit.jupiter:junit-jupiter-params:5.12.0"
57+
testImplementation "org.junit.jupiter:junit-jupiter-params:5.12.1"
5858
5959
// (Optional) If you also have JUnit 4-based tests
6060
testImplementation "junit:junit:4.13.2"
61-
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.12.0"
61+
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.12.1"
6262
}
6363
```
6464
</details>
@@ -76,7 +76,7 @@ If you prefer to use the legacy way to declare the dependency instead, remove th
7676
// In the root project's build.gradle.kts:
7777
buildscript {
7878
dependencies {
79-
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.12.0.0")
79+
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.12.1.0")
8080
}
8181
}
8282

@@ -94,7 +94,7 @@ If you prefer to use the legacy way to declare the dependency instead, remove th
9494
// In the root project's build.gradle:
9595
buildscript {
9696
dependencies {
97-
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.12.0.0"
97+
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.12.1.0"
9898
}
9999
}
100100
@@ -124,7 +124,7 @@ Before you can write instrumentation tests with JUnit Jupiter, make sure that yo
124124

125125
```kotlin
126126
dependencies {
127-
androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.12.0")
127+
androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.12.1")
128128
}
129129
```
130130
</details>
@@ -134,7 +134,7 @@ Before you can write instrumentation tests with JUnit Jupiter, make sure that yo
134134

135135
```groovy
136136
dependencies {
137-
androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.12.0"
137+
androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.12.1"
138138
}
139139
```
140140
</details>
@@ -285,7 +285,7 @@ before filing an issue with the latest one.
285285

286286
|Your AGP Version|Suggested JUnit5 Plugin Version|
287287
|---|---|
288-
|`>= 8.0.0`|`1.12.0.0`|
288+
|`>= 8.0.0`|`1.12.1.0`|
289289
|`7.0.0` - `7.4.2`|`1.10.0.0`|
290290
|`4.0.0` - `4.2.2`|`1.8.2.1`|
291291
|`3.5.0` - `3.6.4`|`1.7.1.1`|

build-logic/src/main/kotlin/Dependencies.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
object libs {
44
object versions {
55
const val kotlin = "1.9.25" // Can only once minimum supported AGP is >= 8.2
6-
const val junitJupiter = "5.12.1"
7-
const val junitVintage = "5.12.1"
8-
const val junitPlatform = "1.12.1"
6+
const val junitJupiter = "5.12.2"
7+
const val junitVintage = "5.12.2"
8+
const val junitPlatform = "1.12.2"
99

1010
const val composeBom = "2025.03.00"
1111
const val androidXMultidex = "2.0.1"

build-logic/src/main/kotlin/Environment.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ object Artifacts {
9292
platform = Java,
9393
groupId = "de.mannodermaus.gradle.plugins",
9494
artifactId = "android-junit5",
95-
currentVersion = "1.12.1.0",
96-
latestStableVersion = "1.12.0.0",
95+
currentVersion = "1.12.2.0-SNAPSHOT",
96+
latestStableVersion = "1.12.1.0",
9797
description = "Unit Testing with JUnit 5 for Android."
9898
)
9999

plugin/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Change Log
22
==========
33

44
## Unreleased
5+
- JUnit 5.12.2
56

67
## 1.12.1.0 (2025-05-18)
78
- JUnit 5.12.1

0 commit comments

Comments
 (0)