In Gradle, buildSrc is a different assembly , not just the project in the main project. So the easiest way to share properties, etc. Between the main assembly and buildSrc is to put it in a separate gradle/sharedProperties.gradle . Then your main build.gradle project can use
apply from: 'gradle/sharedProperties.gradle'
and buildSrc/build.gradle can use
apply from: '../gradle/sharedProperties.gradle'
source share