diff --git a/build.gradle b/build.gradle index 6683312..6f57ea6 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,6 @@ plugins { repositories { mavenCentral() - maven { url "https://jitpack.io" } } group = 'io.crate' @@ -23,12 +22,14 @@ tasks.register("printFlinkVersion") { } ext { - flinkVersion = '1.17.1' - jacksonVersion = '2.16.1' - postgresJDBCVersion = '42.7.1' + flinkVersion = '1.18.1' + flinkJdbcVersion = '3.1.2-1.18' + flinkKafkaVersion = '3.1.0-1.18' + jacksonVersion = '2.16.2' + postgresJDBCVersion = '42.7.2' crateJDBCVersion = '2.7.0' - slf4jVersion = '2.0.7' - log4jVersion = '2.22.1' + slf4jVersion = '2.0.12' + log4jVersion = '2.23.1' } java { @@ -56,13 +57,12 @@ dependencies { flinkShadowJar "org.apache.flink:flink-clients:${flinkVersion}" flinkShadowJar "org.apache.flink:flink-table-api-java:${flinkVersion}" flinkShadowJar "org.apache.flink:flink-table-api-java-bridge:${flinkVersion}" - // Use jitpack.io and main branch: https://github.com/apache/flink-connector-jdbc - flinkShadowJar "com.github.apache:flink-connector-jdbc:main-SNAPSHOT" + flinkShadowJar "org.apache.flink:flink-connector-jdbc:${flinkJdbcVersion}" // Kafka // https://mvnrepository.com/artifact/org.apache.flink // https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype - flinkShadowJar "org.apache.flink:flink-connector-kafka:${flinkVersion}" + flinkShadowJar "org.apache.flink:flink-connector-kafka:${flinkKafkaVersion}" flinkShadowJar "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}" // PostgreSQL