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

0.30.1 requires kotlin 1.3 - is this intentional? #659

Closed
ZakTaccardi opened this issue Oct 3, 2018 · 3 comments
Closed

0.30.1 requires kotlin 1.3 - is this intentional? #659

ZakTaccardi opened this issue Oct 3, 2018 · 3 comments
Labels

Comments

@ZakTaccardi
Copy link

I am getting an error when upgrading from kotlin 0.30.0 to 0.30.1.

Could not resolve all files for configuration ':testing:login:debugCompileClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-common:1.3.0-rc-131.
  Searched in the following locations:
  - <omitted because internal maven repo>
Required by:
      project :testing:login > org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.71 > org.jetbrains.kotlin:kotlin-stdlib:1.2.71
> Could not find org.jetbrains.kotlin:kotlin-stdlib-common:1.3.0-rc-131.
  Searched in the following locations:
  - <omitted because internal maven repo>
Required by:
      project :testing:login > org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.1 > org.jetbrains.kotlinx:kotlinx-coroutines-core-common:0.30.1
> Could not find org.jetbrains.kotlin:kotlin-stdlib-common:1.3.0-rc-131.
  Searched in the following locations:
  - <omitted because internal maven repo>
Required by:
      project :testing:login > org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.1 > org.jetbrains.kotlinx:kotlinx-coroutines-core-common:0.30.1 > org.jetbrains.kotlinx:atomicfu-common:0.11.10

Why does 0.30.1 require kotlin 1.3, but 0.30.0 does not. Is this intentional?

Note: I do not want to use 1.3 at all, and currently want to stay on a 1.2.x version.

@maxcruz
Copy link

maxcruz commented Oct 3, 2018

I have the same problem with my project. What is the last version compatible with Kotlin 1.2.71?

@chistoff
Copy link

chistoff commented Oct 3, 2018

I have the same problem with my project. What is the last version compatible with Kotlin 1.2.71?

0.30.0

@elizarov elizarov added the bug label Oct 3, 2018
@elizarov
Copy link
Contributor

elizarov commented Oct 3, 2018

It is compatible and it is not intentional. It is an accidental leak of dependencies. You workaround it in this way in your dependencies section:

compile("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") {
    exclude group: "org.jetbrains.kotlinx", module: "atomicfu-common"
}

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

4 participants