diff --git a/buildSrc/src/main/kotlin/localDependencies.kt b/buildSrc/src/main/kotlin/localDependencies.kt index c327f383572..058d27c3f18 100644 --- a/buildSrc/src/main/kotlin/localDependencies.kt +++ b/buildSrc/src/main/kotlin/localDependencies.kt @@ -97,7 +97,7 @@ fun Project.kotlinxCollectionsImmutable() = "org.jetbrains.kotlinx:kotlinx-colle * So, we are excluding `annotaions.jar` from all other `kotlin.build` and using this one for runtime only * to avoid accidentally including `annotations.jar` by calling `intellijDep()`. */ -fun Project.intellijRuntimeAnnotations() = "kotlin.build:intellij-runtime-annotations:${rootProject.extra["versions.intellijSdk"]}" +fun Project.intellijRuntimeAnnotations() = "org.jetbrains:annotations:${rootProject.extra["versions.annotations"]}" fun Project.intellijPluginDep(plugin: String, forIde: Boolean = false) = intellijDep(plugin, forIde) diff --git a/gradle/versions.properties b/gradle/versions.properties index e7f26fad42b..30d23709b3a 100644 --- a/gradle/versions.properties +++ b/gradle/versions.properties @@ -22,3 +22,5 @@ versions.jna=5.6.0 versions.shadow=6.1.0 versions.junit-bom=5.8.1 versions.org.junit.platform=1.7.0 + +versions.annotations=21.0 \ No newline at end of file