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

Relative path.

This commit is contained in:
Cedric Beust 2016-07-17 23:27:13 -08:00
parent 33eb4b0908
commit 9d582d5215

View file

@ -80,7 +80,7 @@ class KotlinPlugin @Inject constructor(val executors: KobaltExecutors, val depen
class KotlinCompiler : ICompiler { class KotlinCompiler : ICompiler {
override fun compile(project: Project, context: KobaltContext, info: CompilerActionInfo): TaskResult { override fun compile(project: Project, context: KobaltContext, info: CompilerActionInfo): TaskResult {
return kotlinCompilePrivate { return kotlinCompilePrivate {
classpath(info.dependencies.map { it.jarFile.get().absolutePath }) classpath(info.dependencies.map { it.jarFile.get().path })
sourceFiles(info.sourceFiles) sourceFiles(info.sourceFiles)
compilerArgs(info.compilerArgs) compilerArgs(info.compilerArgs)
output = info.outputDir output = info.outputDir