This project uses google-java-format through Spotless plugin for Gradle. Please install the plugin in your IDE.
This project is a Multi-Project Gradle project. To list all subprojects:
./gradlew projects
Each of the subproject has its own task for the Spotless plugin.
To check whether the current code comply with the formatter or not:
./gradlew raygun-spring-boot-starter:spotlessCheck
./gradlew raygun-spring-boot-starter-example:spotlessCheck
./gradlew raygun-spring-boot-starter-example-web:spotlessCheck
./gradlew raygun-spring-boot-starter-example-web-services:spotlessCheck
To apply the formatter:
./gradlew raygun-spring-boot-starter:spotlessApply
./gradlew raygun-spring-boot-starter-example:spotlessApply
./gradlew raygun-spring-boot-starter-example-web:spotlessApply
./gradlew raygun-spring-boot-starter-example-web-services:spotlessApply
./gradlew raygun-spring-boot-starter:test
./gradlew raygun-spring-boot-starter-example:test
./gradlew raygun-spring-boot-starter-example-web:test
./gradlew raygun-spring-boot-starter-example-web-services:test
We mostly care on the starter subproject code coverage verification.
./gradlew raygun-spring-boot-starter:test raygun-spring-boot-starter:jacocoTestReport raygun-spring-boot-starter:jacocoTestCoverageVerification
The code coverage verification task can also be run by changing the project name appropriately.
Public API that is intended to be used in user's code must have Javadoc.
Check the Maven publication version. For snapshot, the version should have -SNAPSHOT
suffix. For release, the version should not have any prefix. Please commit and push to publish a new version.