From 54db453b032bc3e4827fd8d59aa600cba9dd111d Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Tue, 14 May 2024 16:30:42 -0400 Subject: [PATCH] Fix postrelease revert leftover (#31292) --- release/build.gradle.kts | 2 +- runners/flink/flink_runner.gradle | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/release/build.gradle.kts b/release/build.gradle.kts index ca9982806b9f..4e4586f666f0 100644 --- a/release/build.gradle.kts +++ b/release/build.gradle.kts @@ -39,7 +39,7 @@ task("runJavaExamplesValidationTask") { dependsOn(":runners:direct-java:runQuickstartJavaDirect") dependsOn(":runners:google-cloud-dataflow-java:runQuickstartJavaDataflow") dependsOn(":runners:spark:3:runQuickstartJavaSpark") - dependsOn(":runners:flink:1.18:runQuickstartJavaFlinkLocal") + dependsOn(":runners:flink:1.17:runQuickstartJavaFlinkLocal") dependsOn(":runners:direct-java:runMobileGamingJavaDirect") dependsOn(":runners:google-cloud-dataflow-java:runMobileGamingJavaDataflow") dependsOn(":runners:twister2:runQuickstartJavaTwister2") diff --git a/runners/flink/flink_runner.gradle b/runners/flink/flink_runner.gradle index 3965ab3b1ba0..da3dbe08b503 100644 --- a/runners/flink/flink_runner.gradle +++ b/runners/flink/flink_runner.gradle @@ -376,8 +376,12 @@ tasks.register("validatesRunnerSickbay", Test) { } } -// Generates :runners:flink:1.17:runQuickstartJavaFlinkLocal -createJavaExamplesArchetypeValidationTask(type: 'Quickstart', runner: 'FlinkLocal') +if (project.ext.flink_major == project.ext.latestFlinkVersion) { + // TODO(yathu) support running validation on all supported Flink versions + // currently maven-archetype Flink profile pinned to single Flink version + // Generates :runners:flink::runQuickstartJavaFlinkLocal + createJavaExamplesArchetypeValidationTask(type: 'Quickstart', runner: 'FlinkLocal') +} tasks.register("examplesIntegrationTest", Test) { group = "Verification"