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

Error running gradlew clean build #1

Closed
lfatty opened this issue Sep 20, 2016 · 4 comments
Closed

Error running gradlew clean build #1

lfatty opened this issue Sep 20, 2016 · 4 comments

Comments

@lfatty
Copy link

lfatty commented Sep 20, 2016

Hello there, thanks for the great work, however I got an error when trying to run and build. Could not find or load main class org.gradle.wrapper.GradleWrapperMain

@lfatty
Copy link
Author

lfatty commented Sep 20, 2016

It seems like gradle-wrapper.jar is missing.

@hshar7
Copy link

hshar7 commented Sep 23, 2016

I am having same issue. Please can you provide information on how you got around this?
I'm not a java person so all this is new stuff to me.
Some are saying to use git add -f gradle/wrapper/gradle-wrapper.jar to get the jar file but that isn't doing anything since this repo doesn't have it.

@hshar7
Copy link

hshar7 commented Sep 23, 2016

Instead of using gradle wrapper I was able to run this using regular gradle version < 3.0
On Macports I was able to get version 2.14 using commands:
$_ svn checkout -r 150408 https://svn.macports.org/repository/macports/trunk/dports/devel/gradle
$_ cd gradle
$_ sudo port install
:)

dmettem added a commit that referenced this issue Sep 26, 2016
Added gradle wrapper jar to fix the issue #1(#1).
@dmettem
Copy link
Contributor

dmettem commented Sep 26, 2016

Thanks for reporting. Added the gradle-wrapper.jar explicitly.

@lfatty @hshar7 Confirm if you are able to run the build with gradle wrapper.

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

No branches or pull requests

4 participants