From c470e25193041931bc0b3ff91722c0558389dbe3 Mon Sep 17 00:00:00 2001 From: Jeff Marcom Date: Thu, 29 Aug 2024 13:20:02 -0700 Subject: [PATCH 1/2] Update gradle-avro dependency version and repo This updates gradle-avro to 1.9.1 as well as changes the default maven repository from jcenter (deprecated) to mavencentral. refs: * https://github.com/davidmc24/gradle-avro-plugin#user-content-usage * https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ --- troubleshooting/state-migration/exercise/build.gradle | 7 ++++--- .../state-migration/solution-custom-to-avro/build.gradle | 7 ++++--- troubleshooting/state-migration/solution/build.gradle | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/troubleshooting/state-migration/exercise/build.gradle b/troubleshooting/state-migration/exercise/build.gradle index fcf71400..82e16d01 100644 --- a/troubleshooting/state-migration/exercise/build.gradle +++ b/troubleshooting/state-migration/exercise/build.gradle @@ -17,13 +17,14 @@ buildscript { repositories { - jcenter() + gradlePluginPortal() + mavenCentral() } dependencies { - classpath "com.commercehub.gradle.plugin:gradle-avro-plugin:0.16.0" + classpath "com.github.davidmc24.gradle.plugin:gradle-avro-plugin:1.9.1" } } -apply plugin: "com.commercehub.gradle.plugin.avro" +apply plugin: "com.github.davidmc24.gradle.plugin.avro" apply plugin: 'application' ext.javaExerciseClassName = 'com.ververica.flink.training.exercises.avro.StateMigrationJob' diff --git a/troubleshooting/state-migration/solution-custom-to-avro/build.gradle b/troubleshooting/state-migration/solution-custom-to-avro/build.gradle index fcf71400..82e16d01 100644 --- a/troubleshooting/state-migration/solution-custom-to-avro/build.gradle +++ b/troubleshooting/state-migration/solution-custom-to-avro/build.gradle @@ -17,13 +17,14 @@ buildscript { repositories { - jcenter() + gradlePluginPortal() + mavenCentral() } dependencies { - classpath "com.commercehub.gradle.plugin:gradle-avro-plugin:0.16.0" + classpath "com.github.davidmc24.gradle.plugin:gradle-avro-plugin:1.9.1" } } -apply plugin: "com.commercehub.gradle.plugin.avro" +apply plugin: "com.github.davidmc24.gradle.plugin.avro" apply plugin: 'application' ext.javaExerciseClassName = 'com.ververica.flink.training.exercises.avro.StateMigrationJob' diff --git a/troubleshooting/state-migration/solution/build.gradle b/troubleshooting/state-migration/solution/build.gradle index fcf71400..82e16d01 100644 --- a/troubleshooting/state-migration/solution/build.gradle +++ b/troubleshooting/state-migration/solution/build.gradle @@ -17,13 +17,14 @@ buildscript { repositories { - jcenter() + gradlePluginPortal() + mavenCentral() } dependencies { - classpath "com.commercehub.gradle.plugin:gradle-avro-plugin:0.16.0" + classpath "com.github.davidmc24.gradle.plugin:gradle-avro-plugin:1.9.1" } } -apply plugin: "com.commercehub.gradle.plugin.avro" +apply plugin: "com.github.davidmc24.gradle.plugin.avro" apply plugin: 'application' ext.javaExerciseClassName = 'com.ververica.flink.training.exercises.avro.StateMigrationJob' From 7c288eef0223578941ef5ad4b5ca8fa8ef4a4e07 Mon Sep 17 00:00:00 2001 From: Jeff Marcom Date: Mon, 23 Sep 2024 13:08:45 -0700 Subject: [PATCH 2/2] Update SLF4J version to 2.17.1 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 37ec7002..8f54b3b4 100644 --- a/build.gradle +++ b/build.gradle @@ -103,7 +103,7 @@ subprojects { flinkVersion = '1.19.1' scalaBinaryVersion = '2.12' jacksonVersion = '2.11.2' - log4jVersion = '2.12.1' + log4jVersion = '2.17.1' junitVersion = '4.13' } // removed to make Java 17 work