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
This commit is contained in:
tonihei 2025-02-18 09:09:44 -08:00 committed by Copybara-Service
parent 75ac9cd191
commit 4b991ad42f

View File

@ -62,4 +62,3 @@ afterEvaluate {
} }
} }
} }
tasks.withType(PublishToMavenRepository) { it.dependsOn lint, test }