diff --git a/src/main/kotlin/com/beust/kobalt/api/CompilerActionInfo.kt b/src/main/kotlin/com/beust/kobalt/api/CompilerActionInfo.kt new file mode 100644 index 00000000..9a1d374d --- /dev/null +++ b/src/main/kotlin/com/beust/kobalt/api/CompilerActionInfo.kt @@ -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, + val sourceFiles: List, + val outputDir: File, + val compilerArgs: List) + + diff --git a/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt b/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt index 42047ad4..e9b0982f 100644 --- a/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt +++ b/src/main/kotlin/com/beust/kobalt/api/ICompilerContributor.kt @@ -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, - val sourceFiles: List, - val outputDir: File, - val compilerArgs: List) -