digitalpetri / modbus

Modbus TCP, Modbus RTU/TCP, and Modbus RTU/Serial for Java 17+.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java.util.function.Consumer

yanzixiang opened this issue · comments

Error:Gradle: ModbusTcpSlave.java:110-111: Lambda coming from jar file need their interfaces on the classpath to be compiled, unknown interfaces are java.util.function.Consumer

i got this error.

You may need to try something like retrolambda to get this library working on Android:

https://github.com/orfjackal/retrolambda
https://github.com/evant/gradle-retrolambda