Build: Use annotations dependency from intellij-dependencies maven repo
#KTI-82
This commit is contained in:
committed by
teamcity
parent
bc2f0936bd
commit
b86e85624e
@@ -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
|
* 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()`.
|
* 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)
|
fun Project.intellijPluginDep(plugin: String, forIde: Boolean = false) = intellijDep(plugin, forIde)
|
||||||
|
|
||||||
|
|||||||
@@ -22,3 +22,5 @@ versions.jna=5.6.0
|
|||||||
versions.shadow=6.1.0
|
versions.shadow=6.1.0
|
||||||
versions.junit-bom=5.8.1
|
versions.junit-bom=5.8.1
|
||||||
versions.org.junit.platform=1.7.0
|
versions.org.junit.platform=1.7.0
|
||||||
|
|
||||||
|
versions.annotations=21.0
|
||||||
Reference in New Issue
Block a user