Skip to content

Commit

Permalink
Resotre plugin DSL doc and add error warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-J authored and Ben-J committed Apr 20, 2021
1 parent 5e2c747 commit e97f4f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e97f4f9

Please sign in to comment.