tek / splain

better implicit errors for scala
MIT License
370 stars 28 forks source link

Compatibility with Java 8 is still sketchy on Gradle #100

Closed tribbloid closed 1 year ago

tribbloid commented 1 year ago

Main article:

https://stackoverflow.com/questions/76843849/in-gradle-why-is-targetcompatibility-compiler-option-being-ignored-how-to-di

It almost appears that the following lines has no effect:

        val jvmTarget = JavaVersion.VERSION_1_8.toString()

        withType<ScalaCompile> {

            targetCompatibility = jvmTarget

Probably a false alarm, will need further investigation

tribbloid commented 1 year ago

OK this should be fixed by https://github.com/tek/splain/commit/f96cf9d07fd1d57c3c1b9fd8a25117c62e92a2a1

Scheduled for 1.0.3 release

I'm only able to test it locally. Closing for now. Feel free to re-open if you can reproduce it after 1.0.3