eclipse-hara / hara-ddiclient

Hara-ddiclient is a Kotlin library that facilitates and speeds up the development of DDI API clients for devices connecting to hawkBit servers.
https://projects.eclipse.org/projects/iot.hawkbit.hara
Eclipse Public License 2.0
18 stars 13 forks source link

Fix Kotlin compiler target version mismatch warning #25

Closed diegorondini closed 1 year ago

diegorondini commented 1 year ago

Fix compiler versions mismatch warning (Fedora 37 + Java 17):

> Task :compileTestKotlin
'compileTestJava' task (current target is 17) and 'compileTestKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
By default will become an error since Gradle 8.0+! Read more: https://kotl.in/gradle/jvm/target-validation
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

w: Flag is not supported by this version of the compiler: -Xuse-experimental=kotlin.Experimental
Rahul0714 commented 1 year ago

Is anyone working on it, Can I take this issue?

diegorondini commented 1 year ago

Hi Rahul.

Not yet, you can do it if you want.

sachinnandan commented 1 year ago

I want to fix this. Can I get this..?? @diegorondini

diegorondini commented 1 year ago

Sure, anybody is welcome to try to fix this and open a PR.

diegorondini commented 1 year ago

Just go ahead and open a pull request if you want to fix this.