From 06692ca1ed32f3815379d561fc61e120f01eaa4e Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Tue, 15 Oct 2024 15:15:02 -0400 Subject: [PATCH] Revert disabled Gradle cache in #32751 (#32771) --- sdks/java/expansion-service/build.gradle | 4 ---- sdks/java/extensions/sql/expansion-service/build.gradle | 4 ---- sdks/java/io/expansion-service/build.gradle | 1 - sdks/python/apache_beam/yaml/yaml_provider.py | 2 +- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/sdks/java/expansion-service/build.gradle b/sdks/java/expansion-service/build.gradle index a25583870acf..4dd8c8968ed9 100644 --- a/sdks/java/expansion-service/build.gradle +++ b/sdks/java/expansion-service/build.gradle @@ -57,7 +57,3 @@ task runExpansionService (type: JavaExec) { classpath = sourceSets.main.runtimeClasspath args = [project.findProperty("constructionService.port") ?: "8097"] } - -compileJava { - outputs.upToDateWhen { false } -} \ No newline at end of file diff --git a/sdks/java/extensions/sql/expansion-service/build.gradle b/sdks/java/extensions/sql/expansion-service/build.gradle index b8d78e4e1bb9..b6963cf7547b 100644 --- a/sdks/java/extensions/sql/expansion-service/build.gradle +++ b/sdks/java/extensions/sql/expansion-service/build.gradle @@ -46,7 +46,3 @@ task runExpansionService (type: JavaExec) { classpath = sourceSets.main.runtimeClasspath args = [project.findProperty("constructionService.port") ?: "8097"] } - -shadowJar { - outputs.upToDateWhen { false } -} \ No newline at end of file diff --git a/sdks/java/io/expansion-service/build.gradle b/sdks/java/io/expansion-service/build.gradle index cc8eccf98997..8b817163ae39 100644 --- a/sdks/java/io/expansion-service/build.gradle +++ b/sdks/java/io/expansion-service/build.gradle @@ -35,7 +35,6 @@ configurations.runtimeClasspath { shadowJar { mergeServiceFiles() - outputs.upToDateWhen { false } } description = "Apache Beam :: SDKs :: Java :: IO :: Expansion Service" diff --git a/sdks/python/apache_beam/yaml/yaml_provider.py b/sdks/python/apache_beam/yaml/yaml_provider.py index c2cba936abce..ef2316f51f0e 100755 --- a/sdks/python/apache_beam/yaml/yaml_provider.py +++ b/sdks/python/apache_beam/yaml/yaml_provider.py @@ -117,7 +117,7 @@ def affinity(self, other: "Provider"): (e.g. to encourage fusion). """ # TODO(yaml): This is a very rough heuristic. Consider doing better. - # E.g. we could look at the the expected environments themselves. + # E.g. we could look at the expected environments themselves. # Possibly, we could provide multiple expansions and have the runner itself # choose the actual implementation based on fusion (and other) criteria. a = self.underlying_provider()