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

Build error with JavaCompile.setDependencyCacheDir() #867

Open
aleksnice opened this issue Mar 22, 2017 · 4 comments
Open

Build error with JavaCompile.setDependencyCacheDir() #867

aleksnice opened this issue Mar 22, 2017 · 4 comments

Comments

@aleksnice
Copy link

I'm working with "Robotium recorder", but last time I got mistake when I started "New Robotium Test".

Here is this error:
Input:
C:\Android\uforum-v3-android\executorproject\gradlew.bat -Dorg.gradle.daemon=true assembleDebugAndroidTest -u -b C:\Android\uforum-v3-android\executorproject\build.gradle
Output:
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'executorproject'. > org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 1.666 secs

How to solve this problem?

@ghost
Copy link

ghost commented May 25, 2017

+1

2 similar comments
@ghost
Copy link

ghost commented Jul 7, 2017

+1

@shineirvin
Copy link

+1

@shineirvin
Copy link

Did any of you guys solve this ?

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