-
-
Notifications
You must be signed in to change notification settings - Fork 339
Open
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorwaiting-for-replyIndicates that an issue or pull request needs more informationIndicates that an issue or pull request needs more information
Description
Describe the bug
Plugin cannot be applied, when removing the Kotlin Android plugin, as suggested:
Solution: Remove the
org.jetbrains.kotlin.androidplugin from this project's build file ...
Tasks executed
Any. It already fails when applying the plugin.
Expected behavior
Just build.
Additional context (if a crash, provide stack trace)
In short:
Caused by: org.gradle.api.UnknownDomainObjectException: Extension of type 'BaseAppModuleExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, LibrariesForLibs, VersionCatalogsExtension, BasePluginExtension, SourceSetContainer, ReportingExtension, JavaToolchainService, JavaPluginExtension, KotlinAndroidProjectExtension, ApplicationExtension, ApplicationAndroidComponentsExtension, LintLifecycleExtension, KtlintExtension, PublishingExtensionImpl, PlayPublisherExtension]
Based upon this AGP issue before:
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.android', version: '2.2.21']
> Failed to apply plugin 'org.jetbrains.kotlin.android'.
> Failed to apply plugin 'com.jetbrains.kotlin.android'
The 'org.jetbrains.kotlin.android' plugin is no longer required for Kotlin support since AGP 9.0.
Solution: Remove the 'org.jetbrains.kotlin.android' plugin from this project's build file: mobile\build.gradle.kts.
See https://issuetracker.google.com/438678642 for more details.
> java.lang.Throwable (no error message)
How To Reproduce
See "Tasks executed"
Versions
Plugin 4.0.0
Gradle 9.3.0
AGP 9.0.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorwaiting-for-replyIndicates that an issue or pull request needs more informationIndicates that an issue or pull request needs more information