vivek anand
09/23/2023, 2:57 PMkts
should be
kotlin("plugin.serialization").version("1.9.10").apply(false)
Javier
09/23/2023, 3:22 PMvivek anand
09/23/2023, 3:34 PMapply(false)
apply the plugin to the sub-projects and not just the current project.
Anyway, the issue with the tutorial is that the gradle syntax is wrong, for kts
the version and other parameters should be applied as chained method calls.Javier
09/23/2023, 3:35 PMvivek anand
09/23/2023, 3:44 PMversion
and aplpy
are infix functions, they seem to be Java methods to me. Anyway using version
as an infix method did not work for me, chaining it as above with apply(false)
worked though. Maybe some version mismatch I guess 🤔Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.jetbrains.kotlin:kotlin-serialization-compiler-plugin-embeddable:1.8.21.
Javier
09/23/2023, 3:49 PMvivek anand
09/23/2023, 3:56 PMshared
module is giving me the above error, but using it in the root project works.apply false
also does but the tutorial says to apply the plugin to the gradle file in the `shared`module, but then I think apply false
also have to be added, otherwise kotlin("plugin.serialization") version "1.9.10"
should be added to the gradle file in the root project 🤔Javier
09/23/2023, 4:00 PM