aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-impl
diff options
context:
space:
mode:
authorDejan Milisavljevic <dejan.milisavljevic@sonarsource.com>2024-04-08 15:44:54 +0200
committersonartech <sonartech@sonarsource.com>2024-04-10 20:02:56 +0000
commit17d2777a0039403fb75789fefc2f5999430b92da (patch)
tree6bde3a507d69f654295230be2b77d1e9ce8926d6 /sonar-plugin-api-impl
parentb9a92dbaaaae23d7d94c8a201d23c932a7548aef (diff)
downloadsonarqube-17d2777a0039403fb75789fefc2f5999430b92da.tar.gz
sonarqube-17d2777a0039403fb75789fefc2f5999430b92da.zip
SONAR-22017 Add eol date for active version
Diffstat (limited to 'sonar-plugin-api-impl')
-rw-r--r--sonar-plugin-api-impl/build.gradle3
-rw-r--r--sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt1
2 files changed, 3 insertions, 1 deletions
diff --git a/sonar-plugin-api-impl/build.gradle b/sonar-plugin-api-impl/build.gradle
index 3731d7b28b0..8b7216073ed 100644
--- a/sonar-plugin-api-impl/build.gradle
+++ b/sonar-plugin-api-impl/build.gradle
@@ -29,7 +29,8 @@ dependencies {
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
filter ReplaceTokens, tokens: [
- 'project.version': project.version
+ 'project.version': project.version,
+ 'versionEOL': project.properties["versionEOL"]
]
}
diff --git a/sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt b/sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt
new file mode 100644
index 00000000000..154f9322c6d
--- /dev/null
+++ b/sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt
@@ -0,0 +1 @@
+@versionEOL@