From 851fa3ff08bf46982d30766b2418948aa3020c0a Mon Sep 17 00:00:00 2001 From: Marcel Schnelle Date: Sat, 4 Nov 2023 23:47:04 +0900 Subject: [PATCH] Plugin 1.10.0.0 & Instrumentation 1.4.0 --- README.md | 28 +++++++++++----------- build-logic/src/main/kotlin/Environment.kt | 8 +++---- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 820c54ec..e5766312 100644 --- a/README.md +++ b/README.md @@ -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.9.3.0" + id("de.mannodermaus.android-junit5") version "1.10.0.0" } dependencies { // (Required) Writing and executing Unit Tests on the JUnit Platform - testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3") - testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.3") + testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0") + testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.0") // (Optional) If you need "Parameterized Tests" - testImplementation("org.junit.jupiter:junit-jupiter-params:5.9.3") + testImplementation("org.junit.jupiter:junit-jupiter-params:5.10.0") // (Optional) If you also have JUnit 4-based tests testImplementation("junit:junit:4.13.2") - testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.3") + testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.10.0") } ``` @@ -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.9.3.0" + id "de.mannodermaus.android-junit5" version "1.10.0.0" } dependencies { // (Required) Writing and executing Unit Tests on the JUnit Platform - testImplementation "org.junit.jupiter:junit-jupiter-api:5.9.3" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.9.3" + testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.0" + testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.0" // (Optional) If you need "Parameterized Tests" - testImplementation "org.junit.jupiter:junit-jupiter-params:5.9.3" + testImplementation "org.junit.jupiter:junit-jupiter-params:5.10.0" // (Optional) If you also have JUnit 4-based tests testImplementation "junit:junit:4.13.2" - testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.9.3" + testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.10.0" } ``` @@ -75,7 +75,7 @@ If you prefer to use the legacy way to declare the dependency instead, remove th ```kotlin buildscript { dependencies { - classpath("de.mannodermaus.gradle.plugins:android-junit5:1.9.3.0") + classpath("de.mannodermaus.gradle.plugins:android-junit5:1.10.0.0") } } ``` @@ -87,7 +87,7 @@ If you prefer to use the legacy way to declare the dependency instead, remove th ```kotlin buildscript { dependencies { - classpath "de.mannodermaus.gradle.plugins:android-junit5:1.9.3.0" + classpath "de.mannodermaus.gradle.plugins:android-junit5:1.10.0.0" } } ``` @@ -114,7 +114,7 @@ Before you can write instrumentation tests with JUnit Jupiter, make sure that yo ```kotlin dependencies { - androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.9.3") + androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0") } ``` @@ -124,7 +124,7 @@ Before you can write instrumentation tests with JUnit Jupiter, make sure that yo ```groovy dependencies { - androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.9.3" + androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.10.0" } ``` diff --git a/build-logic/src/main/kotlin/Environment.kt b/build-logic/src/main/kotlin/Environment.kt index 1fad1808..282f4764 100644 --- a/build-logic/src/main/kotlin/Environment.kt +++ b/build-logic/src/main/kotlin/Environment.kt @@ -88,8 +88,8 @@ object Artifacts { platform = Java, groupId = "de.mannodermaus.gradle.plugins", artifactId = "android-junit5", - currentVersion = "1.10.0.0", - latestStableVersion = "1.9.3.0", + currentVersion = "1.10.0.1-SNAPSHOT", + latestStableVersion = "1.10.0.0", license = license, description = "Unit Testing with JUnit 5 for Android." ) @@ -99,8 +99,8 @@ object Artifacts { */ object Instrumentation { const val groupId = "de.mannodermaus.junit5" - private const val currentVersion = "1.4.0" - const val latestStableVersion = "1.3.0" + private const val currentVersion = "1.4.1-SNAPSHOT" + const val latestStableVersion = "1.4.0" val Core = Deployed( platform = Android(minSdk = 14),