and it fetches 1.4-M1, and that version of kotlin-stdlib-jdk8 dependency is not available, it errors:
Copy code
Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4-M1.
Possible solution:
- Declare repository providing the artifact, see the documentation at <https://docs.gradle.org/current/userguide/declaring_repositories.html>
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") {
version {
strictly "1.3.72"
}
because "1.4-M1 is not released"
}
👍🏻 1
i
ilya.gorbunov
04/23/2020, 6:48 PM
Perhaps it would be better to find out who causes your Kotlin plugin dependency to be 1.4-M1.
Note that the code compiled the pre-release compiler (e.g. 1.4-M1) cannot be used later with the stable compiler (e.g. 1.4 or 1.3.72).