Check that kotlin-reflect has a correct version during resolution

Review: https://jetbrains.team/p/kt/reviews/6753

After we migrated to the binary reflect in previous commits we want to
make sure that people won't accidentaly depend on wrong reflect in the
future.
This commit is contained in:
Nikita Bobko
2022-08-08 12:08:59 +02:00
parent 62cadde3e6
commit a65cb947d6
2 changed files with 56 additions and 1 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ dependencies {
implementation(project(":compiler:util"))
implementation(project(":compiler:config"))
compileOnly(project("tree-generator")) // Provided, so that IDEA can recognize references to this module in KDoc.
if (kotlinBuildProperties.isInIdeaSync) {
compileOnly(project("tree-generator")) // Provided, so that IDEA can recognize references to this module in KDoc.
}
compileOnly(intellijCore())
}