Skip to content

Commit 5d538ec

Browse files
cortinicofacebook-github-bot
authored andcommitted
Clarify documentation for debuggableVariants (#44040)
Summary: Pull Request resolved: #44040 This is just a clarification for the KDoc of this property. Changelog: [Internal] [Changed] - Clarify documentation for debuggableVariants Reviewed By: andrewdacenko Differential Revision: D56012825 fbshipit-source-id: 837d2dbc0f7ca5853ba1cedf71a4a5c36661318f
1 parent 99d0c54 commit 5d538ec

File tree

1 file changed

+4
-5
lines changed
  • packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react

1 file changed

+4
-5
lines changed

packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,10 @@ abstract class ReactExtension @Inject constructor(project: Project) {
8585
objects.listProperty(String::class.java).convention(emptyList())
8686

8787
/**
88-
* Allows to specify the debuggable variants (by default just 'debug'). Variants in this list
89-
* will:
90-
* - Not be bundled (the bundle file will not be created and won't be copied over).
91-
* - Have the Hermes Debug flags set. That's useful if you have another variant (say `canary`)
92-
* where you want dev mode to be enabled. Default: ['debug']
88+
* Allows to specify the debuggable variants (by default just 'debug'). Variants in this list will
89+
* not be bundled (the bundle file will not be created and won't be copied over).
90+
*
91+
* Default: ['debug']
9392
*/
9493
val debuggableVariants: ListProperty<String> =
9594
objects.listProperty(String::class.java).convention(listOf("debug"))

0 commit comments

Comments
 (0)