`AndroidPluginIntegration` is using the deprecated AGP Variant API and should migrate to the new AGP Variant API. E.g., `KotlinJvmAndroidCompilation.androidVariant` returns an instance of the deprecated `com.android.build.gradle.api.BaseVariant`.