Skip to content

Instantly share code, notes, and snippets.

@iqan
Created May 24, 2020 12:43
Show Gist options
  • Save iqan/6ea0c5e35d55f59d5d1969e201297864 to your computer and use it in GitHub Desktop.
Save iqan/6ea0c5e35d55f59d5d1969e201297864 to your computer and use it in GitHub Desktop.
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment