Attempting to run the uninstall task on the Gant project using a brand new Gradle build leads to:
|> gradle uninstall
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/users/russel/lib/Java/gradle/lib/logback-classic-0.9.17.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/users/russel/lib/Java/gradle/lib/logback-classic-0.9.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
FAILURE: Build aborted because of an internal error.
- What went wrong:
Build aborted because of an unexpected internal error. Please file an issue at: www.gradle.org.
- Try:
Run with -d option to get additional debug info.
- Exception is:
java.lang.ClassCastException: org.gradle.invocation.DefaultGradle cannot be cast to org.gradle.api.internal.project.IProjectRegistry
at org.gradle.api.internal.project.DefaultProject.<init>(DefaultProject.groovy:43) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.api.internal.project.ProjectFactory.createProject(ProjectFactory.java:51) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.api.internal.project.ProjectFactory.createProject(ProjectFactory.java:30) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.initialization.BuildLoader.createProjects(BuildLoader.java:74) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.initialization.BuildLoader.load(BuildLoader.java:55) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.GradleLauncher.doBuildStages(GradleLauncher.java:143) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.GradleLauncher.doBuild(GradleLauncher.java:124) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.GradleLauncher.run(GradleLauncher.java:95) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.Main.execute(Main.java:100) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at org.gradle.Main.main(Main.java:43) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_16]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_16]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_16]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_16]
at org.gradle.BootstrapMain.main(BootstrapMain.java:50) [gradle-core-0.9-20091006074108+0100.jar:0.9-20091006074108+0100]
BUILD FAILED
Total time: 2.278 secs