From 5d538ec1057dc49b46318c86fdd787b2975451ea Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 15 Apr 2024 06:54:33 -0700 Subject: [PATCH] Clarify documentation for debuggableVariants (#44040) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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 --- .../src/main/kotlin/com/facebook/react/ReactExtension.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt b/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt index 47e24225bd4aec..cd234ff4e58968 100644 --- a/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt +++ b/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactExtension.kt @@ -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 = objects.listProperty(String::class.java).convention(listOf("debug"))