aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-impl/build.gradle
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-04-15 10:43:02 -0500
committersonartech <sonartech@sonarsource.com>2022-04-21 20:02:50 +0000
commit3b11814268cb11ebcaa7a4c231d2bdb642122518 (patch)
treef13f6b78fd2b0fd33e6c4dd42c6b3fa618191bc4 /sonar-plugin-api-impl/build.gradle
parentb2b5d2819ab9d8bc1804641762d6f397c605a582 (diff)
downloadsonarqube-3b11814268cb11ebcaa7a4c231d2bdb642122518.tar.gz
sonarqube-3b11814268cb11ebcaa7a4c231d2bdb642122518.zip
SONAR-16232 Fix version metadata
Diffstat (limited to 'sonar-plugin-api-impl/build.gradle')
-rw-r--r--sonar-plugin-api-impl/build.gradle7
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar-plugin-api-impl/build.gradle b/sonar-plugin-api-impl/build.gradle
index 4acfafdc0e1..553e644268d 100644
--- a/sonar-plugin-api-impl/build.gradle
+++ b/sonar-plugin-api-impl/build.gradle
@@ -25,6 +25,13 @@ dependencies {
testCompile 'org.mockito:mockito-core'
}
+import org.apache.tools.ant.filters.ReplaceTokens
+processResources {
+ filter ReplaceTokens, tokens: [
+ 'project.version': project.version
+ ]
+}
+
artifactoryPublish.skip = false
publishing {