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

[java main] gradle build error - A problem occurred evaluating project ':dist-zip-application'. #128

Closed
drnic opened this issue Jan 14, 2015 · 2 comments

Comments

@drnic
Copy link

drnic commented Jan 14, 2015

$ cd java-main-application
$ gradle build --stacktrace

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/drnic/Projects/cloudfoundry/java-test-applications/dist-zip-application/build.gradle' line: 23

* What went wrong:
A problem occurred evaluating project ':dist-zip-application'.
> org/gradle/api/tasks/compile/Compile

* Try:
Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating project ':dist-zip-application'.
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:148)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)

I'm on OS X and installed gradle from home brew. How do I build the gradle apps?

@drnic
Copy link
Author

drnic commented Jan 14, 2015

I get the same issue with the dist-zip-application project.

@drnic
Copy link
Author

drnic commented Jan 14, 2015

Sorry, I didn't realise I needed to use the build tools in root folder.

@drnic drnic closed this as completed Jan 14, 2015
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

1 participant