Infrastructure: move compiler plugin tests back to their modules

This commit is contained in:
Yan Zhulanow
2017-10-16 20:20:57 +03:00
parent 7248f2568a
commit eccc3447f6
40 changed files with 113 additions and 106 deletions
+14 -1
View File
@@ -9,17 +9,27 @@ dependencies {
compileOnly(project(":compiler:frontend"))
runtime(projectRuntimeJar(":kotlin-compiler"))
runtime(projectDist(":kotlin-stdlib"))
testCompile(project(":compiler:backend"))
testCompile(project(":compiler:cli"))
testCompile(project(":compiler:tests-common"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(commonDep("junit:junit"))
testRuntime(ideaSdkDeps("*.jar"))
}
sourceSets {
"main" { projectDefault() }
"test" {}
"test" { projectDefault() }
}
val jar = runtimeJar {
from(fileTree("$projectDir/src")) { include("META-INF/**") }
}
testsJar {}
dist(targetName = the<BasePluginConvention>().archivesBaseName.removePrefix("kotlin-") + ".jar")
ideaPlugin {
@@ -27,3 +37,6 @@ ideaPlugin {
rename("^kotlin-", "")
}
projectTest {
workingDir = rootDir
}