forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-snowflake: adopt CDK 0.20.4 (airbytehq#35220)
- Loading branch information
1 parent
b75402a
commit 0db75e4
Showing
5 changed files
with
9 additions
and
30 deletions.
There are no files selected for viewing
24 changes: 2 additions & 22 deletions
24
airbyte-integrations/connectors/source-snowflake/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,21 @@ | ||
plugins { | ||
id 'application' | ||
id 'airbyte-java-connector' | ||
} | ||
|
||
airbyteJavaConnector { | ||
cdkVersionRequired = '0.7.7' | ||
cdkVersionRequired = '0.20.4' | ||
features = ['db-sources'] | ||
useLocalCdk = false | ||
} | ||
|
||
//remove once upgrading the CDK version to 0.4.x or later | ||
java { | ||
compileJava { | ||
options.compilerArgs.remove("-Werror") | ||
} | ||
} | ||
|
||
airbyteJavaConnector.addCdkDependencies() | ||
|
||
application { | ||
mainClass = 'io.airbyte.integrations.source.snowflake.SnowflakeSourceRunner' | ||
applicationDefaultJvmArgs = ['-XX:+ExitOnOutOfMemoryError', '-XX:MaxRAMPercentage=75.0'] | ||
} | ||
|
||
configurations { | ||
all { | ||
resolutionStrategy { | ||
force 'org.jooq:jooq:3.13.4' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation group: 'net.snowflake', name: 'snowflake-jdbc', version: '3.14.1' | ||
implementation 'com.zaxxer:HikariCP:5.0.1' | ||
|
||
testImplementation 'org.testcontainers:jdbc:1.19.4' | ||
testImplementation 'org.hamcrest:hamcrest-all:1.3' | ||
integrationTestJavaImplementation libs.testcontainers.jdbc | ||
integrationTestJavaImplementation 'org.apache.commons:commons-lang3:3.11' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters