Search Gradle plugins

android.environments

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 1.0.3 (latest)

1.0.3

Created 07 August 2019.

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.

Add this plugin to your build using the plugins DSL:

plugins {
  id("android.environments") version "1.0.3"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("by.bulba.android.environments:android.environments:1.0.3")
      }
    }
    
    apply(plugin = "android.environments")
  • Applying plugins to all subprojects .