Gradle Forums
Got "Unknown Kotlin JVM target: 20" when running "gradle build"
Help/Discuss
Vampire
(Björn Kautler)
July 31, 2023, 1:48am
2
Don’t run Gradle with a Java version it is not compatible with:
Compatibility Matrix
show post in topic
Related topics
Topic
Replies
Views
Activity
Inconsistent JVM-target compatibility detected for tasks 'compileJava' (23) and 'compileKotlin' (20)
Help/Discuss
3
5501
May 15, 2025
Java 21 works with Gradle versions prior to 8.4
Help/Discuss
7
5816
October 16, 2023
Is it possible to build with Gradle using old Kotlin version?
Help/Discuss
16
2145
February 8, 2025
Kotlin and gradle compatibility
Declarative Gradle
3
3427
February 22, 2025
Project configurator failed configure project in Eclipse
Help/Discuss
buildship
,
eclipse
5
102
October 18, 2026