Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
When I tried to refresh Gradle project , I encountered this error:
Plugin [id: 'org.jetbrains.kotlin.jvm'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (plugin dependency must include a version number for this source)
How to solve this issue?
You just forgot to specify the plugin version, which is mandatory for "not Core" plugins:
For example :
plugins {
application
kotlin("jvm") version "1.3.10"
https://kotlinlang.org/docs/reference/using-gradle.html
https://docs.gradle.org/current/javadoc/org/gradle/plugin/use/PluginDependenciesSpec.html
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.