diff options
author | Eric Bruneton <ebruneton@free.fr> | 2023-09-18 15:51:27 +0200 |
---|---|---|
committer | Eric Bruneton <ebruneton@free.fr> | 2023-09-18 15:55:00 +0200 |
commit | 579caab5e018bdcbd80ca3601446439f65efd4fb (patch) | |
tree | a6c0569b7c4c38b8ae0f90b31b2c8ff14c1e7fc7 | |
parent | 56896e408737be1a3ec2d9da0520f4613455dfda (diff) | |
download | ow2-asm-579caab5e018bdcbd80ca3601446439f65efd4fb.tar.gz |
Update SonarQube plugin to latest version.
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | build.gradle | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa32f617..ca7208d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,4 +18,4 @@ build: - $GRADLE test jacocoTestCoverageVerification - if [ $NEXUS_USER_NAME ]; then $GRADLE publish; fi - if [ !$NEXUS_USER_NAME ]; then $GRADLE publishToMavenLocal; fi - - if [ $SONAR_LOGIN ]; then $GRADLE jacocoTestReport sonarqube -Dsonar.host.url=$SONAR -Dsonar.login=${SONAR_LOGIN}; fi + - if [ $SONAR_LOGIN ]; then $GRADLE jacocoTestReport sonar -Dsonar.host.url=$SONAR -Dsonar.login=${SONAR_LOGIN}; fi diff --git a/build.gradle b/build.gradle index 4bcf3603..323e4ffc 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ buildscript { plugins { id 'com.github.sherter.google-java-format' version '0.9' apply false } plugins { id 'me.champeau.jmh' version '0.6.8' apply false } -plugins { id 'org.sonarqube' version '3.5.0.2730' apply false } +plugins { id 'org.sonarqube' version '4.3.1.3277' apply false } description = 'ASM, a very small and fast Java bytecode manipulation framework' @@ -313,9 +313,9 @@ configure(subprojects.findAll{it.provides}) { } // Apply the SonarQube plugin to monitor the code quality of the project. - // Use with 'gradlew sonarqube -Dsonar.host.url=https://sonarqube.ow2.org'. + // Use with 'gradlew sonar -Dsonar.host.url=https://sonarqube.ow2.org'. apply plugin: 'org.sonarqube' - sonarqube { + sonar { properties { property 'sonar.projectKey', "ASM:${project.name}" } } |