Skip to content

template project for creating library projects more efficiently and consistently

License

Notifications You must be signed in to change notification settings

michaelruocco/library-template

Repository files navigation

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

About

template project for creating library projects more efficiently and consistently

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages