From 98e5e6c5b49202508a9a59cbf1391ede6a098e18 Mon Sep 17 00:00:00 2001 From: Benjamin AIMONE Date: Thu, 8 Jul 2021 14:44:02 +0200 Subject: [PATCH] Improve documentation for plugin install --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2897d5..1e30403 100644 --- a/README.md +++ b/README.md @@ -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 { @@ -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/" }