Zac Sweers
09/29/2022, 2:43 PMdarkmoon_uk
10/12/2022, 11:05 PMAlina Grebenkina
11/15/2022, 5:30 PMPath
utility functions in the stdlib
✅ Support for Xcode 14 in Kotlin/Native
✅ Discontinuation of support for the old JVM backend
Try it out and share your feedback!
👉 https://kotlinlang.org/docs/whatsnew-eap.htmlAndrey Tabakov
11/16/2022, 9:56 AMFailed to apply plugin class 'org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin'.
> Could not create an instance of type org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension.
> IdeaSyncDetectorVariantFactory type is not known for plugin variants
Zac Sweers
11/16/2022, 6:36 PMmbonnin
11/17/2022, 9:36 AM1.8.0-Beta
? Not that I mind at all, mainly curious if I should do the same for my own libraries?Alina Grebenkina
11/17/2022, 5:35 PMaltavir
11/17/2022, 7:19 PMcssSupport
changing enabled
from field to property without proper documentation.altavir
11/17/2022, 7:47 PMaltavir
11/18/2022, 6:43 AMjs
block in gradle after js(IR)
gives error:
==========
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
Please migrate the project to the new IR-based compiler (<https://kotl.in/jsir>) by adding:
- kotlin.js.compiler=ir to your gradle.properties file.
- js(IR) { ... } to your build file.
You can continue to use the deprecated legacy compiler in the current version of the toolchain by specifying it explicitly.
==========
Before it automatically used first provided compiler. I think since LEGACY is deprecated, js
should mean IR by default.altavir
11/18/2022, 8:25 AMgradle
ankushg
11/18/2022, 6:15 PMKathrin Petrova
11/24/2022, 8:17 AMZac Sweers
12/04/2022, 3:06 AMKathrin Petrova
12/08/2022, 10:43 AMPath
utility functions in stdlib
✅ Support for Xcode 14.1 in Kotlin/Native
✅ Discontinuation of support for the old JVM backend
Help us put the finishing touches 🪄 on the RC by reporting any lingering issues in YouTrack: https://kotl.in/issueZac Sweers
12/15/2022, 7:04 PM> Task slack plugincompileTestKotlin
‘compileTestJava’ task (current target is 11) and ‘compileTestKotlin’ task (current target is 1.8) jvm target compatibility should be set to the same Java version.
By default will become an error since Gradle 8.0+! Read more: https://kotl.in/gradle/jvm/target-validation
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchainRepro: https://github.com/slackhq/slack-gradle-plugin/pull/166 CC @tapchicoma
Zac Sweers
12/15/2022, 10:52 PMSingle<Collection<Type>>
and internally code that looks like this
return someListSingle.map { list -> list as Collection<Type> }
In 1.8.0-RC, this cast is marked as redundant (as a compilation warning), but removing it actually causes a compilation error. I’m not sure if it’s expected to automatically infer the cast or if I should report a bug for a false-positive warning.Zac Sweers
12/15/2022, 11:02 PM1.4.0-dev-k1.8.0-RC-4c1865595ed
(from here) and Kotlin 1.8.0-RC, but I’m not sure where to start in diagnosing them or which issue tracker to report it on. No other context given in the compilation either
e: Source file or directory not found: plugin:androidx.compose.compiler.plugins.kotlin:sourceInformation=true
e: Source file or directory not found: plugin:androidx.compose.compiler.plugins.kotlin:liveLiterals=true
Zac Sweers
12/16/2022, 9:17 PM> Task :apps:app-legacy:compileInternalDebugUnitTestKotlin
kotlinOptions.freeCompilerArgs were changed on task :apps:app-legacy:compileInternalDebugUnitTestKotlin execution phase: -progressive, -Xinline-classes, -Xjsr305=strict, -opt-in=kotlin.contracts.ExperimentalContracts, -opt-in=kotlin.experimental.ExperimentalTypeInference, -opt-in=kotlin.ExperimentalStdlibApi, -opt-in=kotlin.time.ExperimentalTime, -Xassertions=jvm, -Xemit-jvm-type-annotations, -Xproper-ieee754-comparisons, -Xjvm-default=all, -Xtype-enhancement-improvements-strict-mode, -Xjspecify-annotations=strict, -Xenhance-type-parameter-types-to-def-not-null, -Xself-upper-bound-inference, -Xskip-prerelease-check, -P, plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=1.8.0-RC2-330, -opt-in=com.slack.eithernet.ExperimentalEitherNetApi, -opt-in=com.slack.eithernet.ExperimentalEitherNetApi, -opt-in=com.slack.eithernet.ExperimentalEitherNetApi, -Xplugin=/Users/zacsweers/.gradle/caches/modules-2/files-2.1/androidx.compose.compiler/compiler/1.4.0-dev-k1.8.0-RC-4c1865595ed/70f3ba3161f2b13d7a24fcbd31d77cd103566985/compiler-1.4.0-dev-k1.8.0-RC-4c1865595ed.jar, -P, plugin:androidx.compose.plugins.idea:enabled=true, -Xallow-unstable-dependencies
This behaviour is deprecated and become an error in future releases!
Margarita Bobova
12/21/2022, 12:46 PMZac Sweers
01/10/2023, 6:22 AMTmpod
01/11/2023, 8:46 PMsuspend context(Foo, Bar) () -> Unit
, however its .invoke
method is requiring two arguments, one for each receiver. The thing is: I explicitly have the receiver for one of them, but the other one is also a context receiver of the callee, so it isn't available as this
. Is there any way I can call this function?
Thank you!Simon Marquis
02/08/2023, 10:43 AMFailed to notify project evaluation listener.
* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.
[...]
Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify project evaluation listener.
[...]
Caused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.gradle.plugin.mpp.pm20.KotlinCompilationData
Here is a link to the corresponding Gradle scan: https://scans.gradle.com/s/prh6uvc24qqs6Zac Sweers
02/08/2023, 5:33 PMbod
02/09/2023, 10:02 AMZac Sweers
02/09/2023, 6:10 PMZac Sweers
02/10/2023, 3:26 PMYang
02/11/2023, 11:50 AMOleg Yukhnevich
02/11/2023, 7:36 PMe: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-test-linuxx64/1.6.4/4757f4ccaeca3c186c03adb80dd4125932850259/kotlinx-coroutines-test is cached (in /home/runner/.gradle/konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-Beta/klib/cache/linux_x64-gSTATIC/org.jetbrains.kotlinx:kotlinx-coroutines-test/unspecified/1e60851fbe3383bc94735442f181a9273d1e96adaab6fe4b95811738dc5e378e/org.jetbrains.kotlinx:kotlinx-coroutines-test-cache/bin/liborg.jetbrains.kotlinx:kotlinx-coroutines-test-cache.a), but its dependency isn't: /home/runner/.gradle/konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-Beta/klib/common/stdlib
• https://github.com/rsocket/rsocket-kotlin/actions/runs/4152472478/jobs/7183450649
e: /home/runner/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/atomicfu-linuxx64/0.19.0/e5e28a197f697b77d49846bfec2fce6e0847e5ed/atomicfu is cached (in /home/runner/.gradle/konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-Beta/klib/cache/linux_x64-gSTATIC/org.jetbrains.kotlinx:atomicfu/unspecified/7ec08e59096adf58ceb23075044b5b12968ce418b16d8d23364485d49f5fe48c/org.jetbrains.kotlinx:atomicfu-cache/bin/liborg.jetbrains.kotlinx:atomicfu-cache.a), but its dependency isn't: /home/runner/.gradle/konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-Beta/klib/common/stdlib
or
e: /home/runner/.gradle/caches/modules-2/files-2.1/io.ktor/ktor-utils-linuxx64/2.2.3/1f96940f71493794b49a4fe22d25e448ae663854/ktor-utils is cached (in /home/runner/.gradle/konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-Beta/klib/cache/linux_x64-gSTATIC/io.ktor:ktor-utils/unspecified/cd659155ccdeccb8b955ac996626c4018e6b1b19d85023c63b5d72de04e3affe/io.ktor:ktor-utils-cache/bin/libio.ktor:ktor-utils-cache.a), but its dependency isn't: /home/runner/.gradle/konan/kotlin-native-prebuilt-linux-x86_64-1.8.20-Beta/klib/common/stdlib
ralf
02/14/2023, 1:17 AM