CODESEEDSign in
Explore projects
Kotlinintermediatedevops

Gradle Plugin for Code Quality

Custom Gradle plugin that integrates quality gate tools: minimum code coverage, maximum complexity, dependency vulnerability scan.

5 steps

Project steps

  1. 01

    Plugin structure

    Implements Plugin<Project>, registerTask with custom types.

  2. 02

    Coverage gate

    Jacoco: fail build if coverage < configurable threshold per module.

  3. 03

    Complexity gate

    Detekt: fail on cyclomatic complexity > N or naming violations.

  4. 04

    Vulnerability scan

    OWASP Dependency Check: fail on CVE with severity >= HIGH.

  5. 05

    Aggregated report

    qualityReport task generates an HTML with all combined results.

Recommended resources

Ready to build this?

Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.

5 steps

Tech stack

KotlinGradle APIJacocoDetektOWASP Dependency Check