I have a gradle project running on jdk8. I'd like now to have another "version" slightly different where I use jdk11 to have the
Cleaner
class available in 9+. What are my options other than having two branches?
e
elizarov
05/12/2019, 9:36 AM
Google multi-version jar files
👍 2
e
elect
05/12/2019, 10:03 PM
the problem is that also the source will differ
e
elizarov
05/12/2019, 11:06 PM
That’s eaxactly for that purpose.
👍 2
r
robstoll
05/13/2019, 2:03 PM
I actually have something similar and was wondering if Kotlin supports the creation of a multi-release jar out of the box in the sense of do not only generate JVM 1.6 but also 1.8 and use stdlib-jdk8 if appropriate