Gradle maven repo fallback failure
In my gradle.build I defined as follow the block:
Gradle error: Unsupported class file major version 63
In a Gradle project, how do I ensure that the downloaded Maven dependency libraries are compiled with the compatible Java version used in my project? I’m using Java version 17 in the project, but if a library downloaded from the Maven repository is compiled with Java 19, I encounter an “UnsupportedClassVersionError.” How can I prevent this in a Gradle project?