snyk-gradle-plugin

  • Version 4.9.0
  • Published
  • 91 kB
  • 10 dependencies
  • Apache-2.0 license

Install

npm i snyk-gradle-plugin
yarn add snyk-gradle-plugin
pnpm add snyk-gradle-plugin

Overview

Snyk CLI Gradle plugin

Index

Variables

variable exportsForTests

const exportsForTests: {
buildArgs: typeof buildArgs;
extractJsonFromScriptOutput: typeof extractJsonFromScriptOutput;
getVersionBuildInfo: typeof getVersionBuildInfo;
toCamelCase: typeof toCamelCase;
getGradleAttributesPretty: typeof getGradleAttributesPretty;
splitCoordinate: typeof splitCoordinate;
};

    Functions

    function buildArgs

    buildArgs: (
    root: string,
    targetFile: string | null,
    initGradlePath: string,
    options: Options,
    gradleVersion: string
    ) => string[];

      function debugLog

      debugLog: (s: string) => void;

        function extractJsonFromScriptOutput

        extractJsonFromScriptOutput: (stdoutText: string) => JsonDepsScriptResult;

          function generateWrapperProcessArgs

          generateWrapperProcessArgs: (
          commandPath: string,
          args: string[]
          ) => { command: string; args: string[] };

            function getGradleVersion

            getGradleVersion: (
            root: string,
            command: string,
            args?: string[]
            ) => Promise<string>;

              function getVersionBuildInfo

              getVersionBuildInfo: (
              gradleVersionOutput: string
              ) => VersionBuildInfo | undefined;

                function inspect

                inspect: {
                (
                root: string,
                targetFile: string,
                options?: api.SingleSubprojectInspectOptions &
                GradleInspectOptions &
                CliOptions,
                snykHttpClient?: SnykHttpClient
                ): Promise<api.SinglePackageResult>;
                (
                root: string,
                targetFile: string,
                options: any,
                snykHttpClient?: SnykHttpClient
                ): Promise<api.MultiProjectResult>;
                };

                  function processProjectsInExtractedJSON

                  processProjectsInExtractedJSON: (
                  extractedJSON: JsonDepsScriptResult,
                  verbose?: boolean,
                  coordinateMap?: CoordinateMap
                  ) => Promise<JsonDepsScriptResult>;

                    function splitCoordinate

                    splitCoordinate: (coordinate: string) => Partial<PomCoords>;

                      function toCamelCase

                      toCamelCase: (input: string) => string;

                        Interfaces

                        interface JsonDepsScriptResult

                        interface JsonDepsScriptResult {}

                          property allSubProjectNames

                          allSubProjectNames: string[];

                            property defaultProject

                            defaultProject: string;

                              property defaultProjectKey

                              defaultProjectKey: string;

                                property projects

                                projects: ProjectsDict;

                                  property sha1Map

                                  sha1Map?: Sha1Map;

                                    property versionBuildInfo

                                    versionBuildInfo?: VersionBuildInfo;

                                      Package Files (1)

                                      Dependencies (10)

                                      Dev Dependencies (14)

                                      Peer Dependencies (0)

                                      No peer dependencies.

                                      Badge

                                      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/snyk-gradle-plugin.

                                      • Markdown
                                        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/snyk-gradle-plugin)
                                      • HTML
                                        <a href="https://www.jsdocs.io/package/snyk-gradle-plugin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>