1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Property syntax.

This commit is contained in:
Cedric Beust 2015-10-12 22:54:37 -07:00
parent 08fafcff33
commit c93caf5989

View file

@ -27,9 +27,9 @@ abstract class GenericTestRunner(open val project: Project, open val classpath:
val jvm = JavaInfo.create(File(SystemProperties.javaBase)) val jvm = JavaInfo.create(File(SystemProperties.javaBase))
val java = jvm.javaExecutable val java = jvm.javaExecutable
val allArgs = arrayListOf<String>() val allArgs = arrayListOf<String>()
allArgs.add(java!!.getAbsolutePath()) allArgs.add(java!!.absolutePath)
allArgs.add("-classpath") allArgs.add("-classpath")
allArgs.add(classpath.map { it.jarFile.get().getAbsolutePath() }.join(File.pathSeparator)) allArgs.add(classpath.map { it.jarFile.get().absolutePath }.join(File.pathSeparator))
allArgs.add(mainClass) allArgs.add(mainClass)
allArgs.addAll(args) allArgs.addAll(args)