Eclipse 2023-09: Gradle Build scenarios Due to Version Conflict with Kotlin Plugin
I've been struggling with this for a few days now and could really use some help... I've been banging my head against this for hours. I've been researching this but I'm working with an scenario in Eclipse (2023-09) where my Gradle build fails because of a version conflict between the Kotlin plugin and my project's dependencies... I've been using Kotlin version 1.6.10 along with some libraries that require Kotlin version 1.5.30. When I try to build the project, I receive the following behavior: ``` * What went wrong: Execution failed for task ':compileKotlin'. > Kotlin SDK version is incompatible with other Kotlin dependencies. Expected: 1.5.30 but was 1.6.10 ``` I've attempted to resolve this conflict by specifying the Kotlin version in the `build.gradle` file as follows: ```groovy dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30" implementation "org.jetbrains.kotlin:kotlin-reflect:1.5.30" } ``` Despite this, the behavior continues. I also tried changing the Kotlin version to 1.5.30 in the `plugins` section but Eclipse still recognizes the higher version from the Gradle settings. Hereβs the relevant part of my `build.gradle` file: ```groovy plugins { id 'org.jetbrains.kotlin.jvm' version '1.6.10' } ``` I've synchronized the Gradle project multiple times and refreshed the workspace in Eclipse, but the scenario remains unresolved. How can I properly align the Kotlin versions across my project to eliminate this conflict? Are there any other best practices I should follow when managing Kotlin versions in a Gradle project? I'm on Ubuntu 20.04 using the latest version of Kotlin. This issue appeared after updating to Kotlin 3.9. Could someone point me to the right documentation? My development environment is macOS. I appreciate any insights!