Skip BuildConfig generation by checking for transitive dep