https://kotlinlang.org logo
#gradle
Title
# gradle
e

Edoardo Luppi

12/05/2023, 4:29 PM
Lost one hour today because of the
Cloneable
error, it just wouldn't go away lol
m

mbonnin

12/05/2023, 4:34 PM
I have embraced that one lol. I know if a okio source is underlined this is probably because
Closable
😅
Sometimes it goes away though, I haven't found a pattern yet
e

Edoardo Luppi

12/05/2023, 4:37 PM
Yeah. Latest 2023.3 RC is worse tho. buildSrc is just unusable.
m

mbonnin

12/05/2023, 4:38 PM
I don't think it has anything to do with KGP or Gradle though. I think it's an IDEA think?
e

Edoardo Luppi

12/05/2023, 4:38 PM
Yup it's just the IDEA Kotlin plugin that's doing something wrong
Renamed it to
build-logic
and used
includeBuild
and my suffering is done
I was getting really angry
t

tapchicoma

12/05/2023, 5:32 PM
@Edoardo Luppi could you create a Kotlin issue with repro steps? We recently has fixed some related issues and not aware of any problems with scripts
m

mbonnin

12/05/2023, 5:34 PM
FWIW, I don't think I had any in
build.gradle.kts
recently. But I had some in Java code for sure and I think in some
.kt
files (but not sure)
t

tapchicoma

12/05/2023, 5:38 PM
that is different thing
issues in
build.gradle.kts
should be fixed in 2023.3 RC. Issues in highlight in .kt files - please report it
👍 1
m

mbonnin

12/11/2023, 10:03 AM
I just filed https://youtrack.jetbrains.com/issue/KTIJ-28132/ . Not related to Gradle/IGP/`*.gradle.kts` but somewhat the same manifestation (although this one involves an okio typealias so might be a completely different thing)
👍 1
4 Views