Drop unused ':dist' dependency in some tests
Review: https://jetbrains.team/p/kt/reviews/6753 This commit doesn't fix any issue except for "cleanup". If you find a mistake in this commit feel free to revert part of it/the whole commit I checked every module where I drop ':dist' dependency. Tests still pass in those modules
This commit is contained in:
@@ -41,6 +41,5 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach
|
|||||||
testsJar()
|
testsJar()
|
||||||
|
|
||||||
projectTest {
|
projectTest {
|
||||||
dependsOn(":dist")
|
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ sourceSets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||||
dependsOn(":dist")
|
|
||||||
dependsOn(":plugins:fir-plugin-prototype:plugin-annotations:jar")
|
dependsOn(":plugins:fir-plugin-prototype:plugin-annotations:jar")
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.register("analysisAllTests") {
|
tasks.register("analysisAllTests") {
|
||||||
dependsOn(":dist")
|
|
||||||
dependsOn(
|
dependsOn(
|
||||||
":analysis:decompiled:decompiler-to-file-stubs:test",
|
":analysis:decompiled:decompiler-to-file-stubs:test",
|
||||||
":analysis:analysis-api:test",
|
":analysis:analysis-api:test",
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ sourceSets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
projectTest {
|
projectTest {
|
||||||
dependsOn(":dist")
|
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ sourceSets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
projectTest {
|
projectTest {
|
||||||
dependsOn(":dist")
|
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,5 @@ sourceSets {
|
|||||||
testsJar {}
|
testsJar {}
|
||||||
|
|
||||||
projectTest(parallel = true) {
|
projectTest(parallel = true) {
|
||||||
dependsOn(":dist")
|
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ sourceSets {
|
|||||||
projectTest(minHeapSizeMb = 8192, maxHeapSizeMb = 8192, reservedCodeCacheSizeMb = 512) {
|
projectTest(minHeapSizeMb = 8192, maxHeapSizeMb = 8192, reservedCodeCacheSizeMb = 512) {
|
||||||
systemProperties(project.properties.filterKeys { it.startsWith("fir.") })
|
systemProperties(project.properties.filterKeys { it.startsWith("fir.") })
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
dependsOn(":dist")
|
|
||||||
|
|
||||||
run {
|
run {
|
||||||
val argsExt = project.findProperty("fir.modularized.jvm.args") as? String
|
val argsExt = project.findProperty("fir.modularized.jvm.args") as? String
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ sourceSets {
|
|||||||
testsJar {}
|
testsJar {}
|
||||||
|
|
||||||
projectTest(parallel = true) {
|
projectTest(parallel = true) {
|
||||||
dependsOn(":dist")
|
|
||||||
dependsOn(":kotlin-stdlib-js-ir:compileKotlinJs")
|
dependsOn(":kotlin-stdlib-js-ir:compileKotlinJs")
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ sourceSets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
projectTest(parallel = false) {
|
projectTest(parallel = false) {
|
||||||
dependsOn(":dist")
|
|
||||||
workingDir = projectDir
|
workingDir = projectDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ sourceSets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
projectTest(parallel = true) {
|
projectTest(parallel = true) {
|
||||||
dependsOn(":dist")
|
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,5 +22,4 @@ testsJar {}
|
|||||||
projectTest {
|
projectTest {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
dependsOn(":dist")
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ sourceSets {
|
|||||||
|
|
||||||
projectTest(parallel = true) {
|
projectTest(parallel = true) {
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
dependsOn(":dist")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
runtimeJar()
|
runtimeJar()
|
||||||
|
|||||||
Reference in New Issue
Block a user