Setup publishing for Yoga stables

Summary:
This sets up publishing for stable of Yoga whenever a git tag gets published.
I also re-enabled Javadoc publishing as this is a requirement to hit Maven Central.

Reviewed By: NickGerleman

Differential Revision: D46522898

fbshipit-source-id: dc4b9139aed7aff27dce966bcee7b9b0cc4c6fe9
This commit is contained in:
Nicola Corti
2023-06-08 02:23:48 -07:00
committed by Facebook GitHub Bot
parent a2832f4d55
commit 36e491754f
3 changed files with 25 additions and 18 deletions

View File

@@ -30,6 +30,7 @@ android {
publishing {
multipleVariants {
withSourcesJar()
withJavadocJar()
includeBuildTypeValues('debug', 'release')
}
}
@@ -38,9 +39,3 @@ android {
dependencies {
api project(':yoga')
}
// We don't build Javadoc at this time as we can't disable "BUCK" files
// from mistakenly getting parsed as Java.
tasks.withType(Javadoc).all {
enabled = false
}