Flutter - Cannot add extension with name 'kotlin', as there is an extension already registered with that name
I have flutter project, inside my flutter project i have one custom flutter plugin. Inside that plugin i'm calling custom compose multiplatform library for both Android and iOS.
While working with Flutter version 3.38.9 it is working fine(Able to get Build successful message for Compose multiplatform library).
Recently we upgraded our flutter version to 3.44.8 and we are getting this error while running below command from root android project
./gradlew :vto:assembleVtoKitDebugXCFramework
I have added this android.builtInKotlin=false to gradle.properties. still i'm getting this error.
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/user/Documents/development/Projects/app/plugins/lib/lib/vto/build.gradle.kts' line: 3
* What went wrong:
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.multiplatform']
> Failed to apply plugin 'org.jetbrains.kotlin.multiplatform'.
> Cannot add extension with name 'kotlin', as there is an extension already registered with that name.