From e97f4f9bcb240859ab9b2069163dc5a52d9ab430 Mon Sep 17 00:00:00 2001 From: Ben-J Date: Tue, 20 Apr 2021 17:40:00 +0200 Subject: [PATCH] Resotre plugin DSL doc and add error warning. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 5ddb289..e2897d5 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,16 @@ This plugin is **used in production** at [Klaxit - Covoiturage quotidien](https: 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`: + +```gradle +plugins { + id "com.klaxit.hiddensecrets" version "X.Y.Z" +} +``` +ℹ️ 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`: ```gradle