Skip to content

Commit

Permalink
Clarify documentation for debuggableVariants (facebook#44040)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#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
  • Loading branch information
cortinico authored and facebook-github-bot committed Apr 15, 2024
1 parent 99d0c54 commit 5d538ec
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,10 @@ abstract class ReactExtension @Inject constructor(project: Project) {
objects.listProperty(String::class.java).convention(emptyList())

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

0 comments on commit 5d538ec

Please sign in to comment.