cmusphinx / sphinx4

Pure Java speech recognition library
cmusphinx.sourceforge.net
Other
1.4k stars 586 forks source link

cant build using gradle #104

Open ybot01 opened 3 years ago

ybot01 commented 3 years ago

get this error when try to run Gradle to build it:

FAILURE: Build failed with an exception.

BUILD FAILED in 2s

Maven is installed on my OS (ubuntu 20.04 64 bit) but not working. I tried removing line 17 from the build file but came up with different error.

Any ideas? I am on java 11 should i try downgrading to java 8?

l-Shane-l commented 2 years ago

I'm having similar problems, but I'm not overly familiar with Java versions and build systems, switching to Java 8 and and older version of gradle seems to help. Also using Intellij because it gives much better errors than eclipse.

ghost commented 2 years ago

Gradle 7.0 removed the 'maven' plugin and replaced it with 'maven-publish', so to use Gradle 7.0 the build.gradle file will need to be updated to take this into account.