https://github.com/sonarsource/sq-com_example_java-gradle-travis
Java Gradle-based project analyzed on SonarQube Cloud using Travis
https://github.com/sonarsource/sq-com_example_java-gradle-travis
Last synced: 3 months ago
JSON representation
Java Gradle-based project analyzed on SonarQube Cloud using Travis
- Host: GitHub
- URL: https://github.com/sonarsource/sq-com_example_java-gradle-travis
- Owner: SonarSource
- License: lgpl-3.0
- Created: 2016-11-21T09:30:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T15:45:17.000Z (11 months ago)
- Last Synced: 2025-07-02T15:44:01.600Z (6 months ago)
- Language: Java
- Homepage:
- Size: 125 KB
- Stars: 7
- Watchers: 26
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Java Gradle-based project analyzed on SonarQube Cloud using Travis
[](https://travis-ci.org/SonarSource/sq-com_example_java-gradle-travis) [](https://sonarcloud.io/dashboard/index/com.sonarqube.examples.java-gradle-travis-project)
#### This project is analysed on [SonarQube Cloud](https://www.sonarsource.com/products/sonarcloud/)!
It is very easy to run an analysis on a Gradle-based project and push it to SonarQube Cloud:
1. Declare the `org.sonarqube` plugin in your `build.gradle` file
2. In your `.travis.yml` file:
1. Activate the [Travis Add-on](https://docs.travis-ci.com/user/sonarcloud/)
2. Run `./gradlew sonarqube` at some point of time in the `script` section
You can take a look at the
[build.gradle](https://github.com/SonarSource/sq-com_example_java-gradle-travis/blob/master/build.gradle)
and
[.travis.yml](https://github.com/SonarSource/sq-com_example_java-gradle-travis/blob/master/.travis.yml)
files of this project to see it in practice.
### License
Copyright 2016-2024 SonarSource.
Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)