Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme to make it more clear that you need to apply plugin also in legacy syntax #315

Merged
merged 1 commit into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,33 @@ If you prefer to use the legacy way to declare the dependency instead, remove th
<summary>Kotlin</summary>

```kotlin
// In the root project's build.gradle.kts:
buildscript {
dependencies {
classpath("de.mannodermaus.gradle.plugins:android-junit5:1.10.0.0")
}
}

// In the app module's build.gradle.kts:
plugins {
id("de.mannodermaus.android-junit5")
}
```
</details>

<details>
<summary>Groovy</summary>

```kotlin
```groovy
// In the root project's build.gradle:
buildscript {
dependencies {
classpath "de.mannodermaus.gradle.plugins:android-junit5:1.10.0.0"
}
}

// In the app module's build.gradle:
apply plugin: "de.mannodermaus.android-junit5"
```
</details>

Expand Down
12 changes: 11 additions & 1 deletion README.md.template
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,33 @@ If you prefer to use the legacy way to declare the dependency instead, remove th
<summary>Kotlin</summary>

```kotlin
// In the root project's build.gradle.kts:
buildscript {
dependencies {
classpath("de.mannodermaus.gradle.plugins:android-junit5:${pluginVersion}")
}
}

// In the app module's build.gradle.kts:
plugins {
id("de.mannodermaus.android-junit5")
}
```
</details>

<details>
<summary>Groovy</summary>

```kotlin
```groovy
// In the root project's build.gradle:
buildscript {
dependencies {
classpath "de.mannodermaus.gradle.plugins:android-junit5:${pluginVersion}"
}
}

// In the app module's build.gradle:
apply plugin: "de.mannodermaus.android-junit5"
```
</details>

Expand Down
Loading