Skip to content

Commit a168d73

Browse files
authored
Updated to Milestone M4 (#5)
* Updated Gradle wrapper to 3.5 * Prepare M4 versions
1 parent 848c8de commit a168d73

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212
dependencies {
1313
// 2. Add the plugin as a classpath dependency
14-
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.0-M3"
14+
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.0-M4"
1515
}
1616
}
1717
@@ -22,6 +22,9 @@ apply plugin: "de.mannodermaus.android-junit5"
2222
dependencies {
2323
// 4. Add the testCompile dependencies on JUnit Jupiter
2424
testCompile junitJupiter()
25+
26+
// 5. (Optional) Add the testCompile dependency on the JUnit Vintage Engine
27+
testCompile junitVintage()
2528
}
2629
```
2730

@@ -36,8 +39,10 @@ However, there are some additional properties that you can apply:
3639

3740
```groovy
3841
junitPlatform {
39-
// The JUnit Jupiter dependency version to use; "5.+" by default
40-
jupiterVersion "5.0.0-M3"
42+
// The JUnit Jupiter dependency version to use; "5.0.0-M4" by default
43+
jupiterVersion "5.0.0-M4"
44+
// The JUnit Vintage Engine dependency version to use; "4.12.0-M4" by default
45+
vintageVersion "4.12.0-M4"
4146
}
4247
```
4348

android-junit5/src/main/groovy/de/mannodermaus/gradle/anj5/AndroidJUnit5PlatformExtension.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ class AndroidJUnit5PlatformExtension extends JUnitPlatformExtension {
1616
/**
1717
* The version of JUnit Jupiter to use.
1818
*
19-
* Defaults to {@code '5.+'}.
19+
* Defaults to {@code '5.0.0-M4'}.
2020
*/
21-
String jupiterVersion = '5.+'
21+
String jupiterVersion = '5.0.0-M4'
2222

2323
/**
2424
* The version of JUnit Vintage Engine to use.
2525
*
26-
* Defaults to {@code '4.12.+}.
26+
* Defaults to {@code '4.12.0-M4'}.
2727
*/
28-
String vintageVersion = '4.12.+'
28+
String vintageVersion = '4.12.0-M4'
2929
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Artifact configuration
22
GROUP_ID=de.mannodermaus.gradle.plugins
33
ARTIFACT_ID=android-junit5
4-
VERSION_NAME=1.0.0-M3
4+
VERSION_NAME=1.0.0-M4
55
DESCRIPTION=Unit Testing with JUnit 5 for Android.
66
VCS_URL=https://github.com/aurae/android-junit5
77

@@ -10,6 +10,6 @@ ANDROID_PLUGIN_VERSION=2.3.0
1010
BINTRAY_PLUGIN_VERSION=1.3.1
1111

1212
# Dependency versions
13-
JUNIT_PLATFORM_VERSION=1.0.0-M3
13+
JUNIT_PLATFORM_VERSION=1.0.0-M4
1414
SPOCK_VERSION=1.0-groovy-2.4
1515
JUNIT4_VERSION=4.12

gradle/wrapper/gradle-wrapper.jar

575 Bytes
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Feb 21 12:14:36 CET 2017
1+
#Wed May 03 18:52:32 CEST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip

0 commit comments

Comments
 (0)