@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
28 lines (27 loc) • 823 B
TypeScript
import { Project } from "@atomist/automation-client";
import { ParametersObject } from "@atomist/sdm";
/**
* Parameter interface for Java project creation.
*/
export interface JavaProjectCreationParameters {
enteredArtifactId?: string;
groupId: string;
rootPackage: string;
version: string;
description?: string;
}
/**
* Java project generator parameters definitions.
*/
export declare const JavaProjectCreationParameterDefinitions: ParametersObject<{
enteredArtifactId: string;
groupId: string;
rootPackage: string;
version: string;
description: string;
}>;
/**
* Compute the artifact id to use from the given parameters.
* Falls back to repo name if not provided
*/
export declare function computeArtifactId(params: JavaProjectCreationParameters, project: Project): string;