@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
13 lines (12 loc) • 659 B
TypeScript
import { CodeTransform } from "@atomist/sdm";
/**
* Add the downloaded content to the given project,
* putting it in the appropriate package. Assumes the file is
* self-contained. URL must end with path of the Java file.
* Does not change the package in the file:
* refactor in a separate transform if you want to do this.
* @param {string} url url of the content. Must be publicly accessible
* @param sourceRoot source root to place the file under
* @param targetPackage (optional) the package under which the file should be brought in
*/
export declare function bringInFile(url: string, sourceRoot?: string, targetPackage?: string): CodeTransform;