Remove aar consumption for non-apk projects

This should fix the problem of one aar being included in another aar, which then leads to duplicated classes when such an aar is used in an apk.