Build: Use annotations dependency from intellij-dependencies maven repo

#KTI-82
This commit is contained in:
Vyacheslav Gerasimov
2021-11-26 01:32:22 +03:00
committed by teamcity
parent bc2f0936bd
commit b86e85624e
2 changed files with 3 additions and 1 deletions
@@ -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)
+2
View File
@@ -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