-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 (#35220)
- Loading branch information
Marius Posta
authored
Feb 14, 2024
1 parent
0303ae5
commit b59098f
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