Build Tool
Releases
Features
9.0.0 Highlights
8.0.0 Highlights
Gradle vs Maven
Learn
User Manual
DPE University
YouTube Channel
Events and Webinar
Support
Community Slack
Community Forums
Professional Services
News
Newsletter
Blog
Gradle Technologies
Develocity®
Build Scan®
DPE.org
Careers
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
5218
May 15, 2025
Java 21 works with Gradle versions prior to 8.4
Help/Discuss
7
5511
October 16, 2023
Is it possible to build with Gradle using old Kotlin version?
Help/Discuss
16
1805
February 8, 2025
Kotlin and gradle compatibility
Declarative Gradle
3
3268
February 22, 2025
Running project using gradle
Help/Discuss
7
4096
January 30, 2023