Skip to content

Commit 6f5d8ca

Browse files
costinalpar-t
andauthored
QA: build improvements related to SQL projects (#31862)
Register SQL as an xpackModule Specify group for SQL QA to disambiguate projects (otherwise due to an old Gradle bug (gradle/gradle#847) any subprojects under SQL QA will not be able to refer to SQL xpackModule Co-authored-by: Alpar Torok <[email protected]>
1 parent 3c11c7c commit 6f5d8ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x-pack/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ subprojects {
4545
ext.projectSubstitutions += [ "org.elasticsearch.plugin:x-pack-ml:${version}": xpackModule('ml')]
4646
ext.projectSubstitutions += [ "org.elasticsearch.plugin:x-pack-monitoring:${version}": xpackModule('monitoring')]
4747
ext.projectSubstitutions += [ "org.elasticsearch.plugin:x-pack-security:${version}": xpackModule('security')]
48+
ext.projectSubstitutions += [ "org.elasticsearch.plugin:x-pack-sql:${version}": xpackModule('sql')]
4849
ext.projectSubstitutions += [ "org.elasticsearch.plugin:x-pack-upgrade:${version}": xpackModule('upgrade')]
4950
ext.projectSubstitutions += [ "org.elasticsearch.plugin:x-pack-watcher:${version}": xpackModule('watcher')]
5051
}

x-pack/qa/sql/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import org.elasticsearch.gradle.test.RunTask
44
description = 'Integration tests for SQL'
55
apply plugin: 'elasticsearch.build'
66
archivesBaseName = 'qa-sql'
7+
group = "org.elasticsearch.x-pack.qa.sql"
78

89
dependencies {
910
compile "org.elasticsearch.test:framework:${version}"

0 commit comments

Comments
 (0)