Global Constants

There seem to be a couple of ways to skin this cat but one way would be:

Add to BuildConfig

Example adding TAG DPF

In build.gradle the module not the project

buildTypes {
        release {
            ...
            buildConfigField "String", "TAG","\"DPF"\""
        }
        debug {
            ...
            buildConfigField "String", "TAG", "\"DPF\""
        }
    }