Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant build using gradle #104

Open
ybot01 opened this issue Apr 20, 2021 · 2 comments
Open

cant build using gradle #104

ybot01 opened this issue Apr 20, 2021 · 2 comments

Comments

@ybot01
Copy link

ybot01 commented Apr 20, 2021

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

FAILURE: Build failed with an exception.

  • Where:
    Build file .../sphinx4-master/build.gradle' line: 17

  • What went wrong:
    A problem occurred evaluating root project 'sphinx4-parent'.

Plugin with id 'maven' not found.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

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
Copy link

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
Copy link

ghost commented Nov 26, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants