Is it possible to exclude a package from an Android Gradle dependency so it does not end up inside the APK?
As:
dependencies { compile('com.facebook.android:facebook-android-sdk:4.17.0') { exclude package 'com.facebook.share' } } but then different, because "package" is not a valid command.