@nx/gradle
Version:
25 lines • 1.28 kB
TypeScript
import { CreateNodesV2, CreateNodesContextV2, ProjectConfiguration } from '@nx/devkit';
import { PluginCache } from 'nx/src/utils/plugin-cache-utils';
import { GradleReport } from './utils/get-gradle-report';
export interface GradlePluginOptions {
includeSubprojectsTasks?: boolean;
ciTargetName?: string;
testTargetName?: string;
classesTargetName?: string;
buildTargetName?: string;
[taskTargetName: string]: string | undefined | boolean;
}
export declare const createNodesV2: CreateNodesV2<GradlePluginOptions>;
export declare const makeCreateNodesForGradleConfigFile: (gradleReport: GradleReport, pluginCache?: PluginCache<Partial<ProjectConfiguration>>, gradleProjectRootToTestFilesMap?: Record<string, string[]>) => (gradleFilePath: any, options: GradlePluginOptions | undefined, context: CreateNodesContextV2) => Promise<{
projects?: undefined;
} | {
projects: {
[x: string]: Partial<ProjectConfiguration>;
};
}>;
/**
@deprecated This is replaced with {@link createNodesV2}. Update your plugin to export its own `createNodesV2` function that wraps this one instead.
This function will change to the v2 function in Nx 20.
*/
export declare const createNodes: CreateNodesV2<GradlePluginOptions>;
//# sourceMappingURL=nodes.d.ts.map