aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gradle.properties7
-rw-r--r--sonar-plugin-api-impl/build.gradle3
-rw-r--r--sonar-plugin-api-impl/src/main/resources/sq-version-eol.txt1
3 files changed, 10 insertions, 1 deletions
diff --git a/gradle.properties b/gradle.properties
index 0d9c37b07cc..37f68a9d3a5 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,5 +1,12 @@
group=org.sonarsource.sonarqube
version=10.5
+
+# End Of Life date for the version. MMF-3763. format is yyyy-MM-dd
+# 6 months from the release date for non LTA versions
+# 30 months from the release date for LTA versions
+# No change required for patch versions
+versionEOL=2024-10-12
+
pluginApiVersion=10.7.0.2191
description=Open source platform for continuous inspection of code quality
projectTitle=SonarQube
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@