Skip to content

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

Notifications You must be signed in to change notification settings

Noddy20/Multi-Module-Gradle-Config

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages