Skip to content

Instantly share code, notes, and snippets.

@bertrandmartel
Created November 24, 2015 13:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bertrandmartel/99b5fb1e668d17435dc5 to your computer and use it in GitHub Desktop.
Save bertrandmartel/99b5fb1e668d17435dc5 to your computer and use it in GitHub Desktop.
[GRADLE - ANDROID] get ndk directory
...................
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
def sdkDir = properties.getProperty('sdk.dir')
def ndkDir = properties.getProperty('ndk.dir')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment