Skip to content

Commit ef5e6f7

Browse files
author
Marcel Schnelle
committed
Prepare 1.0.0-M5
1 parent 00434a6 commit ef5e6f7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,28 @@
44

55
A Gradle plugin that allows for the execution of [JUnit 5][junit5gh] unit tests in Android environments.
66

7-
## Setup
7+
## Download
88

99
```groovy
1010
buildscript {
11-
repositories {
12-
// 1. Make sure to include jcenter in your repositories
13-
jcenter()
14-
}
1511
dependencies {
16-
// 2. Add the plugin as a classpath dependency
17-
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.0-M4-rev3"
12+
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.0-M5"
1813
}
1914
}
15+
```
16+
17+
Snapshots of the development version are available through [Sonatype's `snapshots` repository][sonatyperepo].
2018

21-
// 3. Apply the plugin below your Android plugin
19+
## Setup
20+
21+
```groovy
2222
apply plugin: "com.android.application"
2323
apply plugin: "de.mannodermaus.android-junit5"
2424
2525
dependencies {
26-
// 4. Add the testCompile dependencies on JUnit Jupiter
2726
testCompile junitJupiter()
2827
29-
// 5. (Optional) If you need "parameterized tests"
28+
// (Optional) If you need "parameterized tests"
3029
testCompile junitParams()
3130
}
3231
```
@@ -46,13 +45,14 @@ However, there are some additional properties that you can apply:
4645

4746
```groovy
4847
junitPlatform {
49-
// The JUnit Jupiter dependency version to use; "5.0.0-M4" by default
50-
jupiterVersion "5.0.0-M4"
51-
// The JUnit Vintage Engine dependency version to use; "4.12.0-M4" by default
52-
vintageVersion "4.12.0-M4"
48+
// The JUnit Jupiter dependency version to use; matches the platform's milestone by default
49+
jupiterVersion "5.0.0-M5"
50+
// The JUnit Vintage Engine dependency version to use; matches the platform's milestone by default
51+
vintageVersion "4.12.0-M5"
5352
}
5453
```
5554

5655
[junit5gh]: https://github.com/junit-team/junit5
5756
[junit5ug]: http://junit.org/junit5/docs/current/user-guide
5857
[travisci]: https://travis-ci.org/aurae/android-junit5
58+
[sonatyperepo]: https://oss.sonatype.org/content/repositories/snapshots

0 commit comments

Comments
 (0)