I got the following exception when developing in IntelliJ:
Exception is: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.gradle.kotlin.kotlin-dsl', version: '2.3.3'] was not found in any of the following sources: Gradle Core Plugins (plugin is not in 'org.gradle' namespace) Included Builds (None of the included builds contain this plugin) Plugin Repositories (could not resolve plugin artifact 'org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:2.3.3') Searched in the following repositories: Gradle Central Plugin Repository
I tried the following troubleshooting steps:
- I updated to the latest version of Gradle 7.5.1.
- I ran
gradlew clean build -x test --refresh-dependencies
- Created a new project
- Verified that my
init.gradle.ktsare in my user folder
What else can I try?