1
+ /*
2
+ * Licensed to the Apache Software Foundation (ASF) under one
3
+ * or more contributor license agreements. See the NOTICE file
4
+ * distributed with this work for additional information
5
+ * regarding copyright ownership. The ASF licenses this file
6
+ * to you under the Apache License, Version 2.0 (the
7
+ * License); you may not use this file except in compliance
8
+ * with the License. You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an AS IS BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+
19
+ plugins {
20
+ id ' org.apache.beam.module'
21
+ }
22
+ applyJavaNature(
23
+ automaticModuleName : ' org.apache.beam.it.clickhouse' ,
24
+ exportJavadoc : false ,
25
+ )
26
+
27
+ description = " Apache Beam :: IT :: ClickHouse"
28
+ ext. summary = " Integration test utilities for ClickHouse."
29
+
30
+ def clickhouse_jdbc_version = " 0.6.4"
31
+
32
+ dependencies {
33
+ implementation project(path : " :it:common" )
34
+ implementation project(path : " :it:testcontainers" )
35
+ testImplementation platform(' org.junit:junit-bom:5.10.0' )
36
+ implementation library. java. slf4j_api
37
+ testImplementation ' org.junit.jupiter:junit-jupiter'
38
+ implementation library. java. testcontainers_base
39
+ implementation library. java. testcontainers_clickhouse
40
+ implementation " com.clickhouse:clickhouse-jdbc:$clickhouse_jdbc_version :all"
41
+
42
+ testImplementation(library. java. truth)
43
+ testImplementation ' junit:junit:4.13.2'
44
+
45
+ testImplementation library. java. guava
46
+ permitUsedUndeclared library. java. guava
47
+ testImplementation library. java. mockito_inline
48
+ testImplementation library. java. commons_lang3
49
+ testRuntimeOnly library. java. slf4j_simple
50
+
51
+ permitUnusedDeclared " com.clickhouse:clickhouse-jdbc:$clickhouse_jdbc_version :all"
52
+
53
+ }
0 commit comments