mbonnin
08/08/2019, 5:58 PMkotlin-stdlib-jdk8 but not for plain kotlin-stdlib ?
implementation("org.jetbrains.kotlin:kotlin-stdlib") works but implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8") doesn'toctylFractal
08/08/2019, 6:31 PMmbonnin
08/08/2019, 6:32 PMmbonnin
08/08/2019, 6:32 PMclasspath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41") in my root build.gradle.kts. I guess this is where the version comes fromoctylFractal
08/08/2019, 6:33 PMimplementation(platform("org.jetbrains.kotlin:kotlin-bom:1.3.41"))mbonnin
08/08/2019, 6:33 PMoctylFractal
08/08/2019, 6:34 PMimplementation(kotlin("stdlib-jdk8"))mbonnin
08/08/2019, 6:34 PMmbonnin
08/08/2019, 6:35 PMERROR: Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jdk8:
Affected Modules: appmbonnin
08/08/2019, 6:36 PMkotlin() shorthand just prepends "org.jetbrains.kotlin", it does not add versionSergey Chelombitko
08/08/2019, 6:56 PMmbonnin
08/08/2019, 6:58 PMid("kotlin-android")mbonnin
08/08/2019, 6:58 PMSergey Chelombitko
08/08/2019, 7:01 PMkotlin-stdlib* until 1.3.50Sergey Chelombitko
08/08/2019, 7:03 PMorg.jetbrains.kotlin groupmbonnin
08/08/2019, 7:03 PMkotlin-stdlibSergey Chelombitko
08/08/2019, 7:04 PMoctylFractal
08/08/2019, 7:04 PMkotlin-stdlib may be an transitive dependency of another kotlin-android library, and therefore doesn't need a version. I don't recall exactly how gradle handles that case.mbonnin
08/08/2019, 7:07 PMorg.jetbrains.kotlin:kotlin-android-extensions-runtime:1.3.41 and that in turns pull kotlin-stdlibmbonnin
08/08/2019, 7:08 PMimplementation("org.jetbrains.kotlin:kotlin-stdlib") but if I need jdk8 I have to specify the version. It all makes sense, thanks!