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

Problems with gradle version 3.0.0-beta or upper. #18

Closed
flipper83 opened this issue Sep 4, 2017 · 3 comments
Closed

Problems with gradle version 3.0.0-beta or upper. #18

flipper83 opened this issue Sep 4, 2017 · 3 comments
Labels

Comments

@flipper83
Copy link
Contributor

Expected behaviour

execute the gradle task

Actual behaviour

when running the gradle task throw this error:

Configure project :uripatch
Configuration 'androidTestCompile' in project ':uripatch' is deprecated. Use 'androidTestImplementation' instead.
Configuration 'compile' in project ':uripatch' is deprecated. Use 'implementation' instead.

and after that this cause a Multidex exception:

Dex: Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/android/dx/dex/file/IdItem;
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lcom/android/dx/dex/file/IdItem;

Steps to reproduce

  1. create a kotlin proyect with gradle build version 3.0.0-beta-1 or upper.
  2. add shot plugin
  3. try to record the tests with ./gradlew executeScreenshotTests -Precord
  4. Throw the exception

Version of the library

version 0.1.2

@flipper83 flipper83 added the bug label Sep 4, 2017
@pedrovgs
Copy link
Owner

pedrovgs commented Sep 4, 2017

@flipper83 is Gradle 3.0.0 still in beta?

@flipper83
Copy link
Contributor Author

flipper83 commented Sep 4, 2017 via email

@pedrovgs
Copy link
Owner

Fixed by @flipper83 and released in Shot 0.2.0 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants