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

Refactor.

This commit is contained in:
Cedric Beust 2015-11-29 11:20:33 -08:00
parent ad72434b39
commit 6313888a21
2 changed files with 14 additions and 7 deletions

View file

@ -0,0 +1,14 @@
package com.beust.kobalt.api
import java.io.File
/**
* Describe the information necessary to run a compiler.
*/
data class CompilerActionInfo(val directory: String?,
val dependencies: List<IClasspathDependency>,
val sourceFiles: List<String>,
val outputDir: File,
val compilerArgs: List<String>)

View file

@ -7,10 +7,3 @@ import java.io.File
interface ICompilerContributor : IAffinity {
fun compile(project: Project, context: KobaltContext, info: CompilerActionInfo) : TaskResult
}
data class CompilerActionInfo(val directory: String?,
val dependencies: List<IClasspathDependency>,
val sourceFiles: List<String>,
val outputDir: File,
val compilerArgs: List<String>)