Fix maven and android tests after modularizing and rebasing

This commit is contained in:
Ilya Chernikov
2017-09-02 14:17:17 +03:00
parent 3a55ed31a6
commit 3aabeca191
10 changed files with 43 additions and 2 deletions
+9 -1
View File
@@ -32,7 +32,7 @@ dependencies {
compile(projectTests(":plugins:uast-kotlin"))
compile(projectTests(":js:js.tests"))
compile(protobufFull())
compileOnly(ideaSdkDeps("jps-build-test", subdir = "jps/test"))
compile(ideaSdkDeps("jps-build-test", subdir = "jps/test"))
testCompile(project(":compiler.tests-common"))
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
testCompile(project(":compiler:incremental-compilation-impl"))
@@ -62,3 +62,11 @@ sourceSets {
projectTest {
workingDir = rootDir
}
val generateTests by task<JavaExec> {
classpath = the<JavaPluginConvention>().sourceSets["test"].runtimeClasspath
main = "org.jetbrains.kotlin.generators.tests.GenerateTestsKt"
workingDir = rootDir
}