From 4b991ad42f3139e7e528a87bf19056bfdb5d9f5a Mon Sep 17 00:00:00 2001 From: tonihei Date: Tue, 18 Feb 2025 09:09:44 -0800 Subject: [PATCH] Decouple gradle publish task from lint and test The publish task currently forces to run lint and test even though there is no technical dependency. If a process (e.g. releasing a new library) wants to verify lint and test work, it should run these steps explicitly. #cherrypick PiperOrigin-RevId: 728234811 --- publish.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/publish.gradle b/publish.gradle index 79130e049b..2d8234708c 100644 --- a/publish.gradle +++ b/publish.gradle @@ -62,4 +62,3 @@ afterEvaluate { } } } -tasks.withType(PublishToMavenRepository) { it.dependsOn lint, test }