Build infrastructure: fix external tests after Gradle update
(cherry picked from commit df96df5099b6b49a623f227313aeaccf67289fb6)
This commit is contained in:
committed by
Vasily Levchenko
parent
f311df2cf2
commit
ddc3b5e855
@@ -63,6 +63,7 @@ class RunExternalTestGroup extends JavaExec {
|
|||||||
RunExternalTestGroup() {
|
RunExternalTestGroup() {
|
||||||
// We don't build the compiler if a custom dist path is specified.
|
// We don't build the compiler if a custom dist path is specified.
|
||||||
UtilsKt.dependsOnDist(this)
|
UtilsKt.dependsOnDist(this)
|
||||||
|
main = 'org.jetbrains.kotlin.cli.bc.K2NativeKt'
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -75,7 +76,6 @@ class RunExternalTestGroup extends JavaExec {
|
|||||||
protected void runCompiler(List<String> filesToCompile, String output, List<String> moreArgs) {
|
protected void runCompiler(List<String> filesToCompile, String output, List<String> moreArgs) {
|
||||||
def log = new ByteArrayOutputStream()
|
def log = new ByteArrayOutputStream()
|
||||||
try {
|
try {
|
||||||
main = 'org.jetbrains.kotlin.cli.bc.K2NativeKt'
|
|
||||||
classpath = project.fileTree("$dist.canonicalPath/konan/lib/") {
|
classpath = project.fileTree("$dist.canonicalPath/konan/lib/") {
|
||||||
include '*.jar'
|
include '*.jar'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user