NeuronRobotics / nrjavaserial

A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
Other
345 stars 143 forks source link

MissingMethodException: Could not find method compileOnly() #141

Closed thealy closed 4 years ago

thealy commented 5 years ago

Attempting to build project on Ubuntu 16.04, Java 1.8.0_45, gradle 2.6

Fails with this error:

Caused by: org.gradle.api.internal.MissingMethodException: Could not find method compileOnly() for arguments [net.java.dev.jna:jna:4.4.0] on root project 'nrjavaserial'.

madhephaestus commented 4 years ago

use ./gradlew to build