UNPKG

@nxrocks/common-jvm

Version:

Common library to share code among the JVM-related plugins.

30 lines (29 loc) 759 B
/** * Type of JVM Build System. */ export declare enum BuildSystem { MAVEN = 0, GRADLE = 1 } /** * Class defining the mapping between a command alias and the actual command to run. */ export interface BuilderCommandAliasMapper { [key: string]: string; } /** * Base interface for build systems. */ export interface BuilderCore { getBuildSystemType(): BuildSystem; getExecutable(ignoreWrapper: boolean, useLegacyWrapper: boolean): string; getCommand(alias: BuilderCommandAliasType, options: { cwd: string; ignoreWrapper?: boolean; runFromParentModule?: boolean; }): { cwd: string; command: string; }; } export type BuilderCommandAliasType = keyof BuilderCommandAliasMapper & string;