Mark kotlin target JVM as 1.8#1262
Conversation
There is a conflict between the compiler used for Java and Kotlin, even if this is defined in the root project's build.gradle. Explicitly note that the targeted jvm version is 1.8. This was reported by Gradle and prevents the upgrade to Gradle 8.x.
|
For an example of the build error message, see yesterday's CI execution on MacOS: https://github.com/google/conscrypt/actions/runs/12000790815/job/33450371030#step:15:43 |
|
This warning has been bugging me, but I'm not sure this is the right solution. The Doclet is using the Java 11 javadoc APIs, so |
|
Yes, you are right. This is odd. I inspected the output So I'm not sure if this is a bug in Gradle or in the Kotlin plugin. Either way, I think this is related to how we are currently sharing the logic between the project (aka, the root project |
|
#1263 Looks interesting but potentially a lot of work... Happy to go that way if you have the time to work on it. |
There is a conflict between the compiler used for Java and Kotlin, even if this is defined in the root project's build.gradle. Explicitly note that the targeted jvm version is 1.8.
This was reported by Gradle and prevents the upgrade to Gradle 8.x.