2a4f3f41aa
Review: https://jetbrains.team/p/kt/reviews/6753 Meaningful semantic change was splitted into 5 commits to simplify the change review. Sinle commit would be too big. Why replace source to binary: to get rid of kotlin-reflect in Kotlin plugin artifact KTIJ-22276 Note: Kotlin Maven artifacts (./gradlew publish) changed their dependency on kotlin-reflect
30 lines
1.1 KiB
Kotlin
30 lines
1.1 KiB
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
id("java-test-fixtures")
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlinStdlib())
|
|
testApi(projectTests(":compiler:cli"))
|
|
testApi(projectTests(":generators:test-generator"))
|
|
testApi(testFixtures(project(":kotlin-project-model")))
|
|
testApi(project(":kotlin-project-model"))
|
|
testApi(projectTests(":kotlin-gradle-plugin-integration-tests"))
|
|
testCompileOnly(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
|
|
testImplementation(projectTests(":compiler:test-infrastructure-utils"))
|
|
testImplementation(projectTests(":compiler:test-infrastructure"))
|
|
testImplementation(projectTests(":compiler:tests-common-new"))
|
|
testImplementation(projectTests(":js:js.tests"))
|
|
testApiJUnit5()
|
|
|
|
if (Ide.IJ()) {
|
|
testCompileOnly(jpsBuildTest())
|
|
testApi(jpsBuildTest())
|
|
}
|
|
}
|
|
|
|
val generateKpmTests by generator("org.jetbrains.kotlin.kpm.GenerateKpmTestsKt") {
|
|
}
|