Skip to content

Commit

Permalink
Merge pull request #43 from klaxit/improve-documentation
Browse files Browse the repository at this point in the history
Improve documentation for plugin install
  • Loading branch information
ben-j69 authored Jul 16, 2021
2 parents d32249e + 98e5e6c commit deea269
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 deea269

Please sign in to comment.