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

Android Gradle script error for eclipse task: java.io.File cannot be cast to org.gradle.api.artifacts.Configuration #6

Open
hchan opened this issue Jan 19, 2015 · 1 comment

Comments

@hchan
Copy link

hchan commented Jan 19, 2015

build.gradle under the android directory:

plusConfigurations += project.configurations.compile

should be:
plusConfigurations += [project.configurations.compile ]

....
fyi, this error is repeated for
libgdx-demo-cuboc
libgdx-demo-invaders
libgdx-demo-pax-britannica
libgdx-demo-superjumper
libgdx-demo-vector-pinball
theplanethatcouldntflygood

@jwinterm
Copy link

jwinterm commented Feb 1, 2015

Had this problem with trying to import Cuboc and Metagun demos as Gradle projects into Eclipse. This fixed it for me, thanks hchan!

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

2 participants