Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ To get started, declare the plugin in your `app` module's build script alongside

```kotlin
plugins {
id("de.mannodermaus.android-junit5") version "1.12.0.0"
id("de.mannodermaus.android-junit5") version "1.12.1.0"
}

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

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

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

```groovy
plugins {
id "de.mannodermaus.android-junit5" version "1.12.0.0"
id "de.mannodermaus.android-junit5" version "1.12.1.0"
}

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

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

// (Optional) If you also have JUnit 4-based tests
testImplementation "junit:junit:4.13.2"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.12.0"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.12.1"
}
```
</details>
Expand All @@ -76,7 +76,7 @@ If you prefer to use the legacy way to declare the dependency instead, remove th
// In the root project's build.gradle.kts:
buildscript {
dependencies {
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.12.0.0")
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.12.1.0")
}
}

Expand All @@ -94,7 +94,7 @@ If you prefer to use the legacy way to declare the dependency instead, remove th
// In the root project's build.gradle:
buildscript {
dependencies {
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.12.0.0"
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.12.1.0"
}
}

Expand Down Expand Up @@ -124,7 +124,7 @@ Before you can write instrumentation tests with JUnit Jupiter, make sure that yo

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

```groovy
dependencies {
androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.12.0"
androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.12.1"
}
```
</details>
Expand Down Expand Up @@ -285,7 +285,7 @@ before filing an issue with the latest one.

|Your AGP Version|Suggested JUnit5 Plugin Version|
|---|---|
|`>= 8.0.0`|`1.12.0.0`|
|`>= 8.0.0`|`1.12.1.0`|
|`7.0.0` - `7.4.2`|`1.10.0.0`|
|`4.0.0` - `4.2.2`|`1.8.2.1`|
|`3.5.0` - `3.6.4`|`1.7.1.1`|
Expand Down
6 changes: 3 additions & 3 deletions build-logic/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
object libs {
object versions {
const val kotlin = "1.9.25" // Can only once minimum supported AGP is >= 8.2
const val junitJupiter = "5.12.1"
const val junitVintage = "5.12.1"
const val junitPlatform = "1.12.1"
const val junitJupiter = "5.12.2"
const val junitVintage = "5.12.2"
const val junitPlatform = "1.12.2"

const val composeBom = "2025.03.00"
const val androidXMultidex = "2.0.1"
Expand Down
4 changes: 2 additions & 2 deletions build-logic/src/main/kotlin/Environment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ object Artifacts {
platform = Java,
groupId = "de.mannodermaus.gradle.plugins",
artifactId = "android-junit5",
currentVersion = "1.12.1.0",
latestStableVersion = "1.12.0.0",
currentVersion = "1.12.2.0-SNAPSHOT",
latestStableVersion = "1.12.1.0",
description = "Unit Testing with JUnit 5 for Android."
)

Expand Down
1 change: 1 addition & 0 deletions plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Change Log
==========

## Unreleased
- JUnit 5.12.2

## 1.12.1.0 (2025-05-18)
- JUnit 5.12.1
Expand Down