Tóth István Zoltán
08/06/2023, 11:34 AMxoangon
08/06/2023, 11:47 AMAdam S
08/06/2023, 12:07 PM// workaround for `AssertionError: Can't find built-in class kotlin.Cloneable`
// <https://youtrack.jetbrains.com/issue/KTIJ-25236>
plugins {
kotlin("jvm") version embeddedKotlinVersion
}
2. create file buildSrc/settings.gradle.kts
rootProject.name = "buildSrc"
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
mbonnin
08/06/2023, 3:34 PMmbonnin
08/06/2023, 3:43 PMEdoardo Luppi
08/07/2023, 7:13 AMJavier
08/07/2023, 4:07 PMRepair IDE
button on File
menu -> Removing the .idea
folder -> Changing the IntelliJ JDK among different vendors/versions -> crying while opening an issue on YouTrack
That is my tour when I got red code in Kotlin Gradle scripts on IDEA and it is working on CLIJavier
08/07/2023, 4:08 PM