import { IAndroidBuildData } from "./build"; import { ISpawnResult, ISpawnFromEventOptions } from "../common/declarations"; interface IGradleCommandService { executeCommand( gradleArgs: string[], options: IGradleCommandOptions ): Promise; } interface IGradleCommandOptions { cwd: string; message?: string; stdio?: string; spawnOptions?: ISpawnFromEventOptions; gradlePath?: string; } interface IGradleBuildService { buildProject( projectRoot: string, buildData: IAndroidBuildData ): Promise; cleanProject( projectRoot: string, buildData: IAndroidBuildData ): Promise; } interface IGradleBuildArgsService { getBuildTaskArgs(buildData: IAndroidBuildData): Promise; getCleanTaskArgs(buildData: IAndroidBuildData): string[]; getBuildLoggingArgs(): string[]; }