Skip to content

Commit

Permalink
Prepare 1.0.0-M4-rev3
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Schnelle committed Jun 10, 2017
1 parent c21bad2 commit 16125ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}
dependencies {
// 2. Add the plugin as a classpath dependency
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.0-M4-rev2"
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.0.0-M4-rev3"
}
}
Expand All @@ -23,20 +23,22 @@ dependencies {
// 4. Add the testCompile dependencies on JUnit Jupiter
testCompile junitJupiter()
// 5. If you need parameterized tests:
// 5. (Optional) If you need "parameterized tests"
testCompile junitParams()
}
```

## Usage

This plugin configures the `junitPlatform` task for each registered build variant of a project. Starting with version `1.0.0-M4-rev1`, the plugin automatically attaches both the Jupiter & Vintage Engines.
This plugin configures the `junitPlatform` task for each registered build variant of a project.
It automatically attaches both the Jupiter & Vintage Engines during the execution phase of your tests.

Further instructions on how to write JUnit 5 tests can be found [in their User Guide][junit5ug].

## Extras

Inside the configuration closure applied by the plugin, you can specify the same properties as you would for a Java-based project with the JUnit Platform Gradle plugin.
Inside the configuration closure applied by the plugin, you can specify the same properties as you would
for a Java-based project with the JUnit Platform Gradle plugin.
However, there are some additional properties that you can apply:

```groovy
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# Artifact configuration
GROUP_ID = de.mannodermaus.gradle.plugins
ARTIFACT_ID = android-junit5
VERSION_NAME = 1.0.0-M4-rev2
VERSION_NAME = 1.0.0-M4-rev3
DESCRIPTION = Unit Testing with JUnit 5 for Android.
VCS_URL = https://github.com/aurae/android-junit5

# Dependency versions (plugins)
ANDROID_PLUGIN_VERSION_2X = 2.3.2
ANDROID_PLUGIN_VERSION_3X = 3.0.0-alpha2
ANDROID_PLUGIN_VERSION_3X = 3.0.0-alpha3
BINTRAY_PLUGIN_VERSION = 1.3.1

# Dependency versions
Expand Down

0 comments on commit 16125ff

Please sign in to comment.