Fix script-util tests
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
7710cc455c
commit
a6f8db5d02
@@ -31,7 +31,9 @@ afterEvaluate {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
projectTest()
|
projectTest {
|
||||||
|
workingDir = rootDir
|
||||||
|
}
|
||||||
|
|
||||||
runtimeJar()
|
runtimeJar()
|
||||||
sourcesJar()
|
sourcesJar()
|
||||||
|
|||||||
+1
-1
@@ -114,7 +114,7 @@ done
|
|||||||
environment: Map<String, Any?>? = null,
|
environment: Map<String, Any?>? = null,
|
||||||
suppressOutput: Boolean = false
|
suppressOutput: Boolean = false
|
||||||
): Class<*>? =
|
): Class<*>? =
|
||||||
compileScriptImpl("src/test/resources/scripts/" + scriptFileName,
|
compileScriptImpl("libraries/tools/kotlin-script-util/src/test/resources/scripts/" + scriptFileName,
|
||||||
KotlinScriptDefinitionFromAnnotatedTemplate(scriptTemplate, environment), suppressOutput)
|
KotlinScriptDefinitionFromAnnotatedTemplate(scriptTemplate, environment), suppressOutput)
|
||||||
|
|
||||||
private fun compileScriptImpl(
|
private fun compileScriptImpl(
|
||||||
|
|||||||
Reference in New Issue
Block a user