Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 4.56 KB

README.md

File metadata and controls

80 lines (54 loc) · 4.56 KB

Library Template

Build codecov Codacy Badge Quality Gate Status Technical Debt Coverage Lines of Code Maven Central License: MIT

Overview

This is a template project for creating library projects more quickly. It does not include test fixtures or integration tests as these are not always required, but attempts to give the other commonly used components that I like to use on library projects including:

For a number of the above tools to work your Github Actions pipeline will require the following secrets to be set up:

  • SONAR_TOKEN for Sonar Cloud analysis
  • CODACY_TOKEN for Codacy analysis
  • OSSRH_USERNAME and OSSRH_PASSWORD for releasing snapshots and releases to Maven Central
  • OSSRH_PGP_SECRET_KEY and OSSRH_PGP_SECRET_KEY_PASSWORD for signing release artifacts before pushing to maven central

Useful Commands

// cleans build directories
// checks dependency versions
// checks for gradle issues
// formats code
// builds code
// runs tests
// checks dependencies for vulnerabilities
./gradlew clean dependencyUpdates lintGradle spotlessApply build