Closed SerVB closed 4 years ago
Hi, you have two options:
Change your jvm target to 1.8
Change the library's jvm target to 1.6 and rebuild
You can do it in their respective build.gradle
file
Is there any reason why this library doesn't contain jvm target 1.6 out-of-the-box?
no particular reason beyond convention. If you want a quick fix, you can fork it, change it and get your build on jitpack. You can also do a pull request. I'll change it myself when i merge the new parameter branch
I have merged the changes into master and made a release.
Hi! I've just copy-pasted the sample and gotten this:
The solution has been to update my
build.gradle
specifyingjvmTarget
explicitly: https://stackoverflow.com/a/50991772.Actually, I've never had such an issue with other libs. Maybe there is a way to change the build script or something else somehow to ease the lib usage... Or maybe just giving a warning in README is enough 😀