Skip to content

Commit cf68920

Browse files
committed
Update changelogs, next version and README.md
1 parent e57401d commit cf68920

File tree

5 files changed

+31
-25
lines changed

5 files changed

+31
-25
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
![Logo](.images/logo.png)
99

10-
A Gradle plugin that allows for the execution of [JUnit 5][junit5gh] tests in Android environments using **Android Gradle Plugin 3.5.0 or later.**
10+
A Gradle plugin that allows for the execution of [JUnit 5][junit5gh] tests in Android environments using **Android Gradle Plugin 4.0.0 or later.**
1111

1212
## How?
1313

@@ -24,7 +24,7 @@ Furthermore, this repository provides a small showcase of the functionality prov
2424
```kotlin
2525
buildscript {
2626
dependencies {
27-
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.7.1.1")
27+
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.8.0.0")
2828
}
2929
}
3030
```
@@ -36,7 +36,7 @@ Furthermore, this repository provides a small showcase of the functionality prov
3636
```groovy
3737
buildscript {
3838
dependencies {
39-
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.7.1.1"
39+
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.8.0.0"
4040
}
4141
}
4242
```
@@ -57,15 +57,15 @@ Snapshots of the development version are available through [Sonatype's `snapshot
5757

5858
dependencies {
5959
// (Required) Writing and executing Unit Tests on the JUnit Platform
60-
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.1")
61-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.1")
60+
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.0")
61+
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.0")
6262

6363
// (Optional) If you need "Parameterized Tests"
64-
testImplementation("org.junit.jupiter:junit-jupiter-params:5.7.1")
64+
testImplementation("org.junit.jupiter:junit-jupiter-params:5.8.0")
6565

6666
// (Optional) If you also have JUnit 4-based tests
67-
testImplementation("junit:junit:4.13")
68-
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.7.1")
67+
testImplementation("junit:junit:4.13.2")
68+
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.8.0")
6969
}
7070
```
7171
</details>
@@ -78,15 +78,15 @@ Snapshots of the development version are available through [Sonatype's `snapshot
7878
7979
dependencies {
8080
// (Required) Writing and executing Unit Tests on the JUnit Platform
81-
testImplementation "org.junit.jupiter:junit-jupiter-api:5.7.1"
82-
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.7.1"
81+
testImplementation "org.junit.jupiter:junit-jupiter-api:5.8.0"
82+
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.8.0"
8383
8484
// (Optional) If you need "Parameterized Tests"
85-
testImplementation "org.junit.jupiter:junit-jupiter-params:5.7.1"
85+
testImplementation "org.junit.jupiter:junit-jupiter-params:5.8.0"
8686
8787
// (Optional) If you also have JUnit 4-based tests
88-
testImplementation "junit:junit:4.13"
89-
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.7.1"
88+
testImplementation "junit:junit:4.13.2"
89+
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.8.0"
9090
}
9191
```
9292
</details>
@@ -98,7 +98,7 @@ More information on Getting Started can be found [on the wiki][wiki-gettingstart
9898
## Requirements
9999

100100
The latest version of this plugin requires:
101-
* Android Gradle Plugin `3.5.0` or above
101+
* Android Gradle Plugin `4.0.0` or above
102102
* Gradle `6.1.1` or above
103103

104104
## Instrumentation Test Support
@@ -127,12 +127,12 @@ To start writing instrumentation tests with JUnit Jupiter, make the following ch
127127
}
128128
dependencies {
129129
// 4) Jupiter API & Test Runner, if you don't have it already
130-
androidTestImplementation("androidx.test:runner:1.2.0")
131-
androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.7.1")
130+
androidTestImplementation("androidx.test:runner:1.4.0")
131+
androidTestImplementation("org.junit.jupiter:junit-jupiter-api:5.8.0")
132132
133133
// 5) The instrumentation test companion libraries
134-
androidTestImplementation("de.mannodermaus.junit5:android-test-core:1.2.2")
135-
androidTestRuntimeOnly("de.mannodermaus.junit5:android-test-runner:1.2.2")
134+
androidTestImplementation("de.mannodermaus.junit5:android-test-core:1.3.0")
135+
androidTestRuntimeOnly("de.mannodermaus.junit5:android-test-runner:1.3.0")
136136
}
137137
```
138138
</details>
@@ -158,12 +158,12 @@ To start writing instrumentation tests with JUnit Jupiter, make the following ch
158158
159159
dependencies {
160160
// 4) Jupiter API & Test Runner, if you don't have it already
161-
androidTestImplementation "androidx.test:runner:1.2.0"
162-
androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.7.1"
161+
androidTestImplementation "androidx.test:runner:1.4.0"
162+
androidTestImplementation "org.junit.jupiter:junit-jupiter-api:5.8.0"
163163
164164
// 5) The instrumentation test companion libraries
165-
androidTestImplementation "de.mannodermaus.junit5:android-test-core:1.2.2"
166-
androidTestRuntimeOnly "de.mannodermaus.junit5:android-test-runner:1.2.2"
165+
androidTestImplementation "de.mannodermaus.junit5:android-test-core:1.3.0"
166+
androidTestRuntimeOnly "de.mannodermaus.junit5:android-test-runner:1.3.0"
167167
}
168168
```
169169
</details>

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
*/
9393
object Instrumentation {
9494
private val groupId = "de.mannodermaus.junit5"
95-
private val currentVersion = "1.3.0"
96-
val latestStableVersion = "1.2.2"
95+
private val currentVersion = "1.3.1-SNAPSHOT"
96+
val latestStableVersion = "1.3.0"
9797

9898
val Core = Deployed(
9999
platform = Android(minSdk = 14),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ open class GenerateReadme : DefaultTask() {
109109
private const val PLUGIN_VERSION = "pluginVersion"
110110
private const val INSTRUMENTATION_VERSION = "instrumentationVersion"
111111

112-
private const val CONSTANTS_FILE = "android-junit5/src/main/kotlin/de/mannodermaus/gradle/plugins/junit5/Constants.kt"
112+
private const val CONSTANTS_FILE = "android-junit5/src/main/kotlin/de/mannodermaus/gradle/plugins/junit5/internal/config/Constants.kt"
113113
private val CONSTANTS_FILE_REGEX = Regex("const val (.*) = \"(.*)\"")
114114
private val CONSTANT_MAPPINGS = mapOf(
115115
"minimumRequiredGradleVersion" to "MIN_REQUIRED_GRADLE_VERSION",

instrumentation/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Change Log
33

44
## Unreleased
55

6+
## 1.3.0 (2021-09-17)
7+
8+
**This release of the instrumentation libraries requires JUnit 5.8.0 or newer. Please check your dependency declarations!**
9+
610
#### Added
711
#### Changed
812
- Restructured and converted internal code of `core` and `runner` modules to 100% Kotlin

plugin/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Change Log
33

44
## Unreleased
55

6+
## 1.8.0.0 (2021-09-17)
7+
68
#### Added
79
- JUnit 5.8.0
810
- New Plugin Marker artifact facilitating usage of the plugin through the `plugins {}` DSL

0 commit comments

Comments
 (0)