We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da6016 commit fc9825bCopy full SHA for fc9825b
plugin/build.gradle
@@ -26,7 +26,14 @@ apply plugin: 'java'
26
apply plugin: 'eclipse'
27
28
// Set the Java version compatibility for the project
29
-// sourceCompatibility = '1.8'
+java {
30
+ toolchain {
31
+ languageVersion = JavaLanguageVersion.of(8) // Set this to 8, 11, or 17 based on your requirement
32
+ }
33
+ // Set target compatibility for Java 8
34
+ sourceCompatibility = '1.8'
35
+ targetCompatibility = '1.8'
36
+}
37
38
repositories {
39
// Use Maven Central for resolving dependencies.
0 commit comments