Build infrastructure: fix external tests after Gradle update

(cherry picked from commit df96df5099b6b49a623f227313aeaccf67289fb6)
This commit is contained in:
Ilya Matveev
2020-07-12 13:25:35 +07:00
committed by Vasily Levchenko
parent f311df2cf2
commit ddc3b5e855
@@ -63,6 +63,7 @@ class RunExternalTestGroup extends JavaExec {
RunExternalTestGroup() {
// We don't build the compiler if a custom dist path is specified.
UtilsKt.dependsOnDist(this)
main = 'org.jetbrains.kotlin.cli.bc.K2NativeKt'
}
@Override
@@ -75,7 +76,6 @@ class RunExternalTestGroup extends JavaExec {
protected void runCompiler(List<String> filesToCompile, String output, List<String> moreArgs) {
def log = new ByteArrayOutputStream()
try {
main = 'org.jetbrains.kotlin.cli.bc.K2NativeKt'
classpath = project.fileTree("$dist.canonicalPath/konan/lib/") {
include '*.jar'
}