[KAPT] Migrate kapt tests to new test infrastructure

This commit is contained in:
Dmitriy Novozhilov
2022-07-06 17:53:11 +03:00
committed by teamcity
parent fdf1b8b1c0
commit 9c41e75802
61 changed files with 1474 additions and 1133 deletions
+10 -3
View File
@@ -25,10 +25,13 @@ dependencies {
testImplementation(intellijCore())
testRuntimeOnly(intellijResources()) { isTransitive = false }
testApi(projectTests(":compiler:tests-common"))
testApiJUnit5()
testApi(projectTests(":compiler:tests-common-new"))
testApi(projectTests(":compiler:test-infrastructure"))
testApi(projectTests(":compiler:test-infrastructure-utils"))
testApi(project(":kotlin-annotation-processing-base"))
testApi(projectTests(":kotlin-annotation-processing-base"))
testApi(commonDependency("junit:junit"))
testApi(project(":kotlin-annotation-processing-runtime"))
testCompileOnly(toolsJarApi())
@@ -43,12 +46,16 @@ optInToExperimentalCompilerApi()
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
"test" {
projectDefault()
generatedTestDir()
}
}
testsJar {}
projectTest(parallel = true) {
useJUnitPlatform()
workingDir = rootDir
dependsOn(":dist")
}