Kotlin

Prerequisites

    Install CLI​
    Java 1.8 or higher
    Install Gradle​
    gradle build should be run on the project before running the tool

Command-line

Run the following from the command line. Recommended to provideproject-name.
    path - --path={pwd} or --path=<ANOTHER_PATH>
    project-name - --project-name=<PROJECT_NAME>
1
cdefense scan --api-key=<YOUR_API_KEY> --path=${PWD} \
2
--project-name="<PROJECT_NAME>"
Copied!
​
Last modified 1mo ago
Copy link