1
0
mirror of https://github.com/mc1arke/sonarqube-community-branch-plugin.git synced 2024-11-24 08:42:28 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
Michael Clarke
182911d6d6 Upgrade to the latest Gradle version
Bumps to Gradle 8.9. Includes moving to the `Jammy` JDK Docker image
rather than the `Alpine` image to allow building on Arm architectures.
2024-08-11 12:16:24 +01:00
Michael Clarke
851127def2 Upgrade to the latest Gradle and plugin versions
Bumps to the latest Gradle version, plus upgrades to the latest versions
of all plugins in the build.gradle.
2023-12-31 13:06:22 +00:00
Michael Clarke
00a025b89d Update to latest Gradle version
The Gradle Wrapper has been reconfigured to use Gradle 7.1.1, and the wrapper files regenerated. Deprecated configuration for XML Jacoco reporting has been updated to the new standard for Gradle 7, and the removed scopes (compile, runtime) have been migrated to their equivalent (implementation, runtimeOnly), as well as a general cleanup of dependency definition to make the formatting consistent. To ensure the download of the Sonarqube Zip archive continues to work, the Ivy repository definition has been explicitly configured to use the target artefact as the metadata, rather than defaulting to searching for an Ivy XML metadata file that isn't present as part of the target distribution.
2021-07-25 17:55:13 +01:00
Michael Clarke
7ac2dae96b
Cleanup configuration from Gradle 5 migration
The recent migration to Gradle 5 introduced the use of the Shadow plugin in place of the unmaintained SonarQube plugin. However, the default configuration of the Shadow plugin does not bundle dependencies, so the plugin would fail to load if depending on any libraries not bundled with SonarQube. The shadow task is therefore being configured to always execute as part of the Gradle `assemble` task being executed, and it's classifier set to an empty String so it is built/deployed with the same name as the original JAR file. To prevent a clash with the original JAR, its task has been disabled, but it's classifier has also been named as 'nodeps' to make it clear it doesn't contain any dependencies.

The shadow plugin has also been updated to the latest version, and the deprecated `layout` syntax used for retrieving SonarQube artifacts replaced with the alternative `patternLayout` syntax, as well as correcting the line endings in `gradlew.bat`.
2019-08-01 21:11:25 +01:00
Mathias Åhsberg
be05ab603e Upgrade to gradle 5.5.1
Replaces com.iadams.sonar-packaging plugin with com.github.johnrengelman.shadow since the former does not support gradle 5.x. See https://github.com/iwarapter/gradle-sonar-packaging-plugin/issues/22
2019-07-31 09:57:28 +01:00
Michael Clarke
e35783041f Initial Commit 2019-03-14 19:06:25 +00:00