Set resValue independently of buildType or productFlavor?
问题 Is there a way to use resValue independently of, i. e. outside of, any buildType or productFlavor ? I have some String resources in my Android project that I would like to create from within my build.gradle which don't vary with either build type or product flavor. For example, the following line stores the hash of the current git commit so that it can displayed in the settings resValue "string", "source_git_hash", gitHash I found that I can use the all block in either the buildTypes or the