mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-02-27 20:58:02 +01:00
07-c-language : Build failed #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexwang3322 on GitHub (Mar 9, 2016).
When I run command "gradle mainExecutable" at folder "07-c-language" , a problem occurs:
What went wrong:
A problem occurred evaluating root project '07-c-language'.
Try:
Run with --info or --debug option to get more log output.
Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project '07-c-language'.
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$1.run(DefaultScriptPluginFactory.java:148)
I can't understand what 's the problem,plz give a sign or solve, thanks much :)
@georgik commented on GitHub (Mar 9, 2016):
Hi Alex.
New version of Gradle has different syntax form C/C++ plugins.
Here is sample: http://stackoverflow.com/questions/29134071/building-c-program-with-gradle
Pull latest version, I made correction there.
@georgik commented on GitHub (Mar 9, 2016):
Fixed also example 08.
Thank you for pointing out the issue.