Heyy,
While executing kotlin sub-modules for the kotlin-Gradle-plugin task. I was facing a couple of issues, which I tried to debug it in the following ways:
For this, I tried to add the following to target the compatibility to Java 8 in the build.gradle file of kotlin-gradle-plugin.
+sourceSets {
+ "main" {
+ java {
+ sourceCompatibility = 1.8
+ targetCompatibility = 1.8
+ }
+}
+}
+
But it fails with the same error!
It would be a great help if anyone can suggest something from this.
Thanks and regards,
Samyak Jain
(samyak-jn[m])