Skip to content

Repository files navigation

Multi Module Gradle Config (with Shared variables)

This project explains how to share gradle buildConfigField variables with multiple modules.

Description :

Clone the project, build it and read the comments to know how to share variables with multiple modules.

There are two different ways to declare shared variables (both explained in this project) :

  • In project level gradle
  • In a separate gradle file (config.gradle in this example project)

Use one of the above option as per your preference.

I prefer a ⭐ than a cup of ☕

About

This project explains how to share gradle buildConfigField variables with multiple modules.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages