forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
56 lines (50 loc) · 3.31 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// #############################################################################################
// # #
// # _______________ _____ ______ _ _ _ #
// # |_ | _ | ___ / __ \ | _ \ (_) | | (_) #
// # | | | | | |_/ | / \/ | | | |_ __ ___ _____ _ __ | | _ ___ ___ _ __ ___ ___ #
// # | | | | | ___ | | | | | | '__| \ \ / / _ | '__| | | | |/ __/ _ | '_ \/ __|/ _ \ #
// # /\__/ | |/ /| |_/ | \__/\ | |/ /| | | |\ V | __| | | |___| | (_| __| | | \__ | __/ #
// # \____/|___/ \____/ \____/ |___/ |_| |_| \_/ \___|_| \_____|_|\___\___|_| |_|___/\___| #
// # #
// # By building this connector, you agree to the JDBC ODBC driver license: #
// # https://databricks.com/jdbc-odbc-driver-license #
// # #
// #############################################################################################
plugins {
id 'application'
id 'airbyte-docker'
id 'airbyte-integration-test-java'
id "de.undercouch.download" version "5.0.1"
}
application {
mainClass = 'io.airbyte.integrations.destination.databricks.DatabricksDestination'
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0']
}
dependencies {
implementation project(':airbyte-db:db-lib')
implementation project(':airbyte-config:config-models')
implementation libs.airbyte.protocol
implementation project(':airbyte-integrations:bases:base-java')
implementation project(':airbyte-integrations:bases:base-java-s3')
implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
implementation project(':airbyte-integrations:connectors:destination-jdbc')
implementation project(':airbyte-integrations:connectors:destination-s3')
implementation project(':airbyte-integrations:connectors:destination-azure-blob-storage')
implementation group: 'com.databricks', name: 'databricks-jdbc', version: '2.6.25'
// parquet
implementation ('org.apache.hadoop:hadoop-common:3.3.3') {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
}
implementation ('org.apache.hadoop:hadoop-aws:3.3.3') { exclude group: 'org.slf4j', module: 'slf4j-log4j12'}
implementation ('org.apache.hadoop:hadoop-mapreduce-client-core:3.3.3') {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'org.slf4j', module: 'slf4j-reload4j'
}
implementation ('org.apache.parquet:parquet-avro:1.12.0') { exclude group: 'org.slf4j', module: 'slf4j-log4j12'}
implementation ('com.github.airbytehq:json-avro-converter:1.1.0') { exclude group: 'ch.qos.logback', module: 'logback-classic'}
implementation 'com.azure:azure-storage-blob:12.18.0'
integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-databricks')
}