Generate BuildConfig.java only if it's not packaged in the aar See #326  Solution 2
Removed debug info - should not have been in the commit in the first place
Skip BuildConfig generation by checking for transitive dep
Merge branch 'master' into issue-buildconfig-solution2
Merge pull request #329 from Shusshu/issue-buildconfig-solution2

Issue buildconfig solution2