Example example-visitors build fails: Plugin [id: 'kotlinx-serialization'] not found
See original GitHub issueDescribe the bug
Cloned the repo, opened up example-visitors, attempted to build.
Plugin [id: 'kotlinx-serialization'] was not found in any of the following sources:
- Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/4.10.3/userguide/standard_plugins.html for available core plugins)
- Plugin Repositories (plugin dependency must include a version number for this source)
Based on the second error I tried giving it a version number in build.gradle.kts
:
id("kotlinx-serialization") version "1.3.41"
but then I just got
Plugin [id: 'kotlinx-serialization', version: '1.3.41'] was not found in any of the following sources:
- Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/4.10.3/userguide/standard_plugins.html for available core plugins)
- Plugin Repositories (could not resolve plugin artifact 'kotlinx-serialization:kotlinx-serialization.gradle.plugin:1.3.41')
Searched in the following repositories:
Gradle Central Plugin Repository
Environment
- Kotlin version: 1.3.41
- Library version: ???
- Kotlin platforms: JVM
- Gradle version: 5.5.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Kotlin @Serializable annotation not working in IntelliJ
The problem was that I was using the idea plugin to generate the IntelliJ project. When I instead imported the project by opening...
Read more >Content negotiation and serialization | Ktor
The ContentNegotiation plugin serves two primary purposes: Negotiating media types between the client and server. For this, it uses the ...
Read more >When applying Kotlinx Serialization and KMP NativeCoroutines
In this particular module that fails I only have the build logic plugin ... Plugin [id: 'com.rickclephas.kmp.nativecoroutines'] was not found in any of...
Read more >Add kotlin-serialization plugin marker to the eap and kotlinx ...
to allow using kotlinx-serialization , eap versions of kotlin and other plugins without ... eachPlugin { if (requested.id.id == "org.jetbrains.kotlin.jvm") ...
Read more >Kotlinx.Serialization part1 - Medium
First we need to add a new plugin to the build.gradle file: plugins { id ... (Wait a minute Kotlinx serialization not just...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What id have to add to make Serialization work…!!
https://github.com/Kotlin/kotlinx.serialization/issues/273#issuecomment-508869239