Running static analysis for a Gradle project
To initiate an analysis of your files, you must generate an IRX file that you submit to the cloud. The HCL AppScan on Cloud Gradle plugin is used to automate the scanning of Java and Java web projects in Gradle. It generates an IRX file for Gradle projects that have the "java" plugin and/or "war" plugins applied. It can also submit the generated IRX file to the ASoC service for analysis automatically. For information on applying the plugin and to determine the latest plugin version, see Gradle plugins.
Procedure
To generate the IRX file for a Gradle
project:
Encrypting appscanSecret using the Gradle plugin
About this task
appscan-gradle-plugin. Note:
The latest
version credentials plugin requires Gradle 5.0 or newer. For additional
information on the plugin, see
gradle-credentials-plugin.