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
(cherry picked from commit 4b991ad42f3139e7e528a87bf19056bfdb5d9f5a)
This commit is contained in:
tonihei 2025-02-18 09:09:44 -08:00 committed by oceanjules
parent cb2df35a5b
commit 75da514b7f

View File

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