diff options
author | Steve Marion <steve.marion@sonarsource.com> | 2024-11-14 16:47:42 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-11-15 20:02:43 +0000 |
commit | 6cc3297dc0645e1eae7609d4a2d8179f93d5d55d (patch) | |
tree | 370d607516f12787a1e10f23901a3a4f81d33239 /server | |
parent | 33adcc5d22a6f4a43de1fa7469d4eb10450e92f4 (diff) | |
download | sonarqube-6cc3297dc0645e1eae7609d4a2d8179f93d5d55d.tar.gz sonarqube-6cc3297dc0645e1eae7609d4a2d8179f93d5d55d.zip |
SONAR-23625 support for different version for community build.
Co-authored-by: Alain Kermis <alain.kermis@sonarsource.com>
Co-authored-by: Matteo Mara <matteo.mara@sonarsource.com>
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-db-dao/build.gradle | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-db-dao/build.gradle b/server/sonar-db-dao/build.gradle index e2785bd783d..85ef382ae91 100644 --- a/server/sonar-db-dao/build.gradle +++ b/server/sonar-db-dao/build.gradle @@ -68,9 +68,10 @@ task createDB(type:JavaExec) { mainClass = 'org.sonar.db.createdb.CreateDb' classpath = sourceSets.test.runtimeClasspath systemProperty 'orchestrator.configUrl', System.getProperty('orchestrator.configUrl') - if (!project.version.endsWith("-SNAPSHOT")) { - systemProperty 'sonar.runtimeVersion', project.version - } + if (!project.version.endsWith("-SNAPSHOT")) { + systemProperty 'sonar.runtimeVersion', project.version + systemProperty 'sonar.communityRuntimeVersion', project.version + } } task populateDB(type: JavaExec) { |