Yahor Berdnikau

Results 18 issues of Yahor Berdnikau

### Current Behavior Currently Gradle adds `-Xskip-metadata-version-check` [flag](https://github.com/JetBrains/kotlin/blob/2b9c5f4c7efa1ac20154cc6135057a2b9bd0026c/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/CommonCompilerArguments.kt#L139-L147) to the build logic (`kotlin-dsl`) and Kotlin Gradle scripts compilation. But this flag essentially disables Kotlin compiler check verifying dependencies Kotlin metadata...

a:bug
in:kotlin-dsl

**Describe the bug** Consider I want to generate the following code: ``` class Test { fun doSomething(): Test? { // do something return something as Test? } } ``` kotlinpoet...

bug

I am using IDEA 2024.1 EAP and see the following error with the latest Godot-Kotlin plugin (0.8.1-4.2.0-IJ2023.2) installed: ```kotlin ava.lang.Throwable: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc. at...

bug
topic:ide-plugin

I've noticed, while debugging similar issues in Kotlin Gradle Plugin, kotlinx-benchmark creates (instead of just registering) tasks eagerly. Some samples of stacktraces: ``` at org.gradle.api.internal.tasks.DefaultTaskCollection.getByName(DefaultTaskCollection.java:46) at kotlinx.benchmark.gradle.JvmTasksKt.createJvmBenchmarkCompileTask(JvmTasks.kt:133) at kotlinx.benchmark.gradle.JvmJavaTasksKt.processJavaSourceSet(JvmJavaTasks.kt:26) at...

Would be nice to add to all methods that may return `null` `@Nullable` annotation, so it enables better interop with Kotlin code.

### Current Behavior This is a cross-link issue for [this Kotlin issue](https://youtrack.jetbrains.com/issue/KT-72001). > On Mac computers, in AndroidX repo Gradle hangs on resolving dependencies for some tasks, e.g ./gradlew :compose:integration-tests:demos:installDebug....

a:regression
in:configuration-cache

### Current Behavior Kotlin Gradle Plugin has recently introduced a different hierarchy for own classes which includes some interfaces with annotated task inputs. Task `KotlinCompile` overrides `libraries` input from `KotlinCompileTool`...

a:bug
🌱 internal-onboarding
in:execution-engine
:wave: team-triage

### Expected Behavior Gradle should finish the build without errors. ### Current Behavior Gradle fails the build with following exception: ``` Caused by: java.lang.IllegalStateException: Unexpected parent dependency id 185. Seen...

a:bug
in:dependency-resolution
to-triage