Skip to content

Commit

Permalink
Improve documentation for plugin install
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin AIMONE authored and Benjamin AIMONE committed Jul 8, 2021
1 parent d32249e commit 98e5e6c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This gradle plugin can be used with any Android project in Java or Kotlin.

# 1 - Install the plugin
## Using the plugins DSL
In your app level `build.gradle`:
In your Module level `build.gradle`:

```gradle
plugins {
Expand All @@ -29,11 +29,12 @@ plugins {
```
ℹ️ If your project sync triggers the issue `Could not find com.android.tools.build:gradle:X.Y.Z`, please use the legacy plugin application below.
## Using legacy plugin application
Add these lines in your app level `build.gradle`:
Add these lines at the beginning of your Module level `build.gradle`:

```gradle
buildscript {
repositories {
google()
maven {
url "https://plugins.gradle.org/m2/"
}
Expand Down

0 comments on commit 98e5e6c

Please sign in to comment.