Created
August 2, 2017 17:52
-
-
Save jasonwyatt/c03665f9f831d35b7b09d2c1158c6873 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getVersionInfo = { File apkFile -> | |
def stdout = new ByteArrayOutputStream() | |
exec { | |
commandLine getAaptPath(), "dump", "badging", apkFile.absoluteFile | |
standardOutput = stdout | |
} | |
return new VersionInfo(apkFile, stdout.toString()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment