by.bulba.android.environments
Owner: IlyaPavlovskii
Android Environments plugin helps us to avoid manual declaration of build config fields in each of the build types or product flavors. It's no longer required to write buildConfigField for every single field.
https://github.com/IlyaPavlovskii/Android-Environments/blob/master/README.md
Sources: https://github.com/IlyaPavlovskii/Android-Environments
Version 0.9.0 (latest)
Created 23 July 2019.
Add this plugin to your build using the plugins DSL:
plugins {
id("by.bulba.android.environments") version "0.9.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("by.bulba.android.environments:by.bulba.android.environments.gradle.plugin:0.9.0") }
It can then be applied in the precompiled script plugin:plugins { id("by.bulba.android.environments") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("by.bulba.android.environments:by.bulba.android.environments.gradle.plugin:0.9.0") } } apply(plugin = "by.bulba.android.environments")
- Applying plugins to all subprojects .