digitalpetri / modbus

Modbus TCP, Modbus RTU/TCP, and Modbus RTU/Serial for Java 17+.
Eclipse Public License 2.0
654 stars 222 forks source link

java.util.function.Consumer #7

Closed yanzixiang closed 8 years ago

yanzixiang commented 8 years ago

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.

kevinherron commented 8 years ago

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