Tuesday, January 28, 2014

Auto Include APLs in Android Gradle

Part of the reason why you should switch to Gradle from Ant in your android app builds is to further automate stuff ot be more Agile. With ANT we had a way that the script that Google Engineers came up with included a macro to obtain the APLs paths from the project.properties file.

To do this in gradle takes two things modifying your settings.gradle file and adding some lines to the build.gradle to do the same thing.The answer is in this SO Question.