Skip to content

Commit 34fb932

Browse files
cortinicofacebook-github-bot
authored andcommitted
Use allVariants() when publishing ReactAndroid (facebook#52719)
Summary: Pull Request resolved: facebook#52719 This is really a nit. We don't need to list all the variants here, we can instead use `allVariants()` which we also use for hermes-engine, to publish every buildVariant from React Android. Changelog: [Internal] [Changed] - Reviewed By: alanleedev Differential Revision: D78561729 fbshipit-source-id: 35989051ce966ea07caf26a218eb43c1a2bcac2d
1 parent 1ceba3b commit 34fb932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ android {
599599
publishing {
600600
multipleVariants {
601601
withSourcesJar()
602-
includeBuildTypeValues("debug", "release", "debugOptimized")
602+
allVariants()
603603
}
604604
}
605605

0 commit comments

Comments
 (0)