We are scanning a Kotlin gradle based project with Blackduck.
We can see a few licence related issues with our project but when we dig deeper it seems like they are coming from gradle plugins related to our build.
As the deployed artefacts don't include the plugin and their related dependencies we want to make sure we ignore them in the scan, but I fail to find how.
The environment
- Gradle 6.6.1
- Synopsys Detect for Jenkins: 3.1.0
- Detect Shell Script 2.5.1
- Detect jar 6.9.1
Command used
~/tools/Detect_Installation/detect.sh \
--blackduck.api.token=[api-token] \
--blackduck.trust.cert=false \
--blackduck.url=https://my-blackduck.com \
--logging.level.com.synopsys.integration=DEBUG \
--detect.blackduck.scan.mode=INTELLIGENT \
--detect.project.name=project-name \
--detect.project.version.name=project-branch \
--detect.project.version.distribution=EXTERNAL \
--detect.code.location.name=project-name/SSW-project-branch \
--detect.project.version.phase=DEVELOPMENT \
--detect.excluded.directories.defaults.disabled=false \
--detect.detector.search.exclusion.paths=gradle/plugins \
--detect.cleanup=false