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

Kotlin version #51

Closed
jarkoAndroid opened this issue Jul 25, 2016 · 3 comments
Closed

Kotlin version #51

jarkoAndroid opened this issue Jul 25, 2016 · 3 comments

Comments

@jarkoAndroid
Copy link

looks like your lib can be build only with Kotlin 1.0.2, but the actual version of Kotlin is 1.0.3

@jonatbergn
Copy link

Should be fixed with #44.

@jarkoAndroid
Copy link
Author

Houston we still have a problem here:

testCompile "com.nhaarman:mockito-kotlin:0.5.1"

Error:Conflict with dependency 'org.jetbrains.kotlin:kotlin-stdlib'. Resolved versions for app (1.0.3) and test app (1.0.2-1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.
Error:Conflict with dependency 'org.jetbrains.kotlin:kotlin-runtime'. Resolved versions for app (1.0.3) and test app (1.0.2-1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.

@jonatbergn
Copy link

Yes, as long as mockito-kotlin depends on kotlin 1.0.2-1 you get this dependency conflict.
You have three options for now:

  1. Wait until mockito-kotlin updates to 1.0.3
  2. Downgrade your kotlin version to 1.0.2-1
  3. Create your own fork of mockito-kotlin with kotlin 1.0.3

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