deepmedia / deepmedia/MavenDeployer

Using a Kotlin version below `2.1.20` causes weird exception

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
89
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I have a multiplatform project with a dependency like this `api(project(":other_module"))`, and with Kotlin version `2.1.10` Gradle fails with `java.lang.NoSuchMethodError: 'org.gradle.api.artifacts.ProjectDependency org.jetbrains.kotlin.gradle.plugin.KotlinDependencyHandler.project(java.lang.String)'`.

The issue is resolved when switching the version to `2.1.20`. It might be desirable to see if a better error message could be provided, something like "version 2.1.20 is required".

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.