diff --git a/README.md b/README.md index d133d1f5..1ee869fc 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,33 @@ To get started, declare the plugin in your `app` module's build script alongside ### Alternative: Legacy DSL -If you prefer to use the legacy way to declare the dependency instead, remove the `version()` block from above and declare the plugin in your _root project's build script_ like so: +If you prefer to use the legacy way to declare the dependency instead, remove the `version()` block from above and apply in your`app` module: + +
+ Kotlin + + ```kotlin + plugins { + id("de.mannodermaus.android-junit5") + } + ``` +
+ +
+ Groovy + + ```kotlin + plugins { + id "de.mannodermaus.android-junit5" + } + ``` + or + ```kotlin + apply plugin: 'de.mannodermaus.android-junit5' + ``` +
+ +Then declare the plugin in your _root project's build script_ like so:
Kotlin diff --git a/README.md.template b/README.md.template index fe994e40..99dcbc55 100644 --- a/README.md.template +++ b/README.md.template @@ -62,7 +62,33 @@ To get started, declare the plugin in your `app` module's build script alongside ### Alternative: Legacy DSL -If you prefer to use the legacy way to declare the dependency instead, remove the `version()` block from above and declare the plugin in your _root project's build script_ like so: +If you prefer to use the legacy way to declare the dependency instead, remove the `version()` block from above and apply in your`app` module: + +
+ Kotlin + + ```kotlin + plugins { + id("de.mannodermaus.android-junit5") + } + ``` +
+ +
+ Groovy + + ```kotlin + plugins { + id "de.mannodermaus.android-junit5" + } + ``` + or + ```kotlin + apply plugin: 'de.mannodermaus.android-junit5' + ``` +
+ +Then declare the plugin in your _root project's build script_ like so:
Kotlin