From 28ec98dbb2a480043dec8e30d3f2738d37dc8e62 Mon Sep 17 00:00:00 2001 From: drop189 <71636973+drop189@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:11:40 +0300 Subject: [PATCH 1/2] Update README.md Added an explanation that BuildConfig needs to be included in buildFeatures at the application level. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index e7060f3..8c6037e 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,15 @@ plugins { } ``` +Enable a `BuildConfig` feature: +```groovy +android { + buildFeatures { + buildConfig = true + } +} +``` + This plugin also supports library module type (`com.android.library`). Just install the plugin in your library-level `build.gradle` file and keys will be visible inside that module as well. ### Snapshot Releases From 961d7994fe64a05c9f9d22855578807a98fa6b4e Mon Sep 17 00:00:00 2001 From: drop189 <71636973+drop189@users.noreply.github.com> Date: Sun, 28 Jul 2024 18:42:56 +0300 Subject: [PATCH 2/2] Update README.md Edited the text. Now he describes the situation more precisely. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c6037e..8b1e2fe 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ plugins { } ``` -Enable a `BuildConfig` feature: +3. Enable the `BuildConfig` functionality in the `build.gradle` file at the app level: ```groovy android { buildFeatures {