This small sample project uses Kotlin context receivers to demonstrate SonarQube's related functionality.
Build the project:
./gradlew build
Run the project:
./gradlew run
Run sonarqube analysis:
./gradlew sonar
This will require a local sonarqube installation, or one configured in ~/.gradle/gradle.properties
using the systemProp.sonar.host.url
property.