You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2020/01/16 22:08:37 UTC
[calcite] branch master updated: Add hsqldb data sets (scott,
foodmart and chinook) to SQLLine's path
This is an automated email from the ASF dual-hosted git repository.
jhyde pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new 0d4d8de Add hsqldb data sets (scott, foodmart and chinook) to SQLLine's path
0d4d8de is described below
commit 0d4d8de7af72ee710a6f458a6c216ff70388c52b
Author: Julian Hyde <jh...@apache.org>
AuthorDate: Thu Jan 16 10:47:16 2020 -0800
Add hsqldb data sets (scott, foodmart and chinook) to SQLLine's path
---
build.gradle.kts | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/build.gradle.kts b/build.gradle.kts
index 90b6a33..a7aa172 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -162,6 +162,12 @@ val adaptersForSqlline = listOf(
":pig", ":piglet", ":plus", ":redis", ":spark", ":splunk"
)
+val dataSetsForSqlline = listOf(
+ "net.hydromatic:foodmart-data-hsqldb",
+ "net.hydromatic:scott-data-hsqldb",
+ "net.hydromatic:chinook-data-hsqldb"
+)
+
val sqllineClasspath by configurations.creating {
isCanBeConsumed = false
}
@@ -172,6 +178,9 @@ dependencies {
for (p in adaptersForSqlline) {
sqllineClasspath(project(p))
}
+ for (m in dataSetsForSqlline) {
+ sqllineClasspath(module(m))
+ }
}
val buildSqllineClasspath by tasks.registering(Jar::class) {