Sample application shows how to write variables and methods in build.gradle file and later access it in activity class. Very useful if you are developing your application based on build variants.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
.gitattributes
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

GradleVariables

sample application shows how to write variables and methods in build.gradle file

screenshot_gradle_vars