mariusx / gradle-secured-setup

Gradle setup with plugins for secure coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Coverage - JaCoCo

https://docs.gradle.org/current/userguide/jacoco_plugin.html

./gradlew test
./gradlew jacocoTestReport 
./gradlew jacocoTestCoverageVerification

Bytecode bug scanning - SpotBugs

https://github.com/spotbugs/spotbugs-gradle-plugin

This plugin also have plugins (plugin in plugin)

spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'

To run

./gradlew check

File bug scanning - PMD

https://docs.gradle.org/current/userguide/pmd_plugin.html

Rule-sets refs:

Blog example using external config files PREFERRED:

To run

./gradlew check

OWASP Dependency-Check

https://plugins.gradle.org/plugin/org.owasp.dependencycheck

Refs:

To run

./gradlew dependencyCheckAnalyze

About

Gradle setup with plugins for secure coding


Languages

Language:Java 100.0%