-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant apply Kotlin Gradle plugin v1.7.20 on JDK 19 #22440
Comments
Thank you for your interest in Gradle! This issue lacks information and/or a reproducer to track down the problem. Unless you provide that information over the next 7 days, this issue will be closed. You can use the following as a base for your reproducer: https://github.com/gradle/gradle-issue-reproducer The error looks like an incomplete setup, but it is hard to say what is missing exactly without a reproducer. |
I can reproduce this with this minimal sample: buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.18.4")
}
} Reproducer: https://github.com/Prototik/gradle-bug-22440 Removing atomicfu plugin or changing kotlin plugin to Actually atomicfu maintainers aware of the issue: Kotlin/kotlinx-atomicfu#248. |
See #22510 |
Sorry for the late reply. Given the discussion in We believe this issue is no longer relevant. Please file a new issue if necessary. |
When using the latest nightly build of Gradle with the latest Kotlin version (1.7.20) on JDK 19 build fails during Kotlin plugin dependency resolution.
Expected Behavior
Gradle should be able to configure the project on JDK 19 with Kotlin 1.7.20.
Current Behavior
Project configuration fails with the following errors:
Your Environment
OS: Windows 10
JDK: OpenJDK 19
Gradle: 7.6-20221017231502+0000
The text was updated successfully, but these errors were encountered: