@@ -29,7 +29,7 @@ import javax.inject.Inject
29
29
/* *
30
30
* Provides DSL to configure Compose compiler plugin options.
31
31
*
32
- * It is available in the build scripts under " composeCompiler" name :
32
+ * It is available in the build scripts as the ` composeCompiler {}` block :
33
33
* ```
34
34
* composeCompiler {
35
35
* ...
@@ -38,7 +38,7 @@ import javax.inject.Inject
38
38
*/
39
39
abstract class ComposeCompilerGradlePluginExtension @Inject internal constructor(objectFactory : ObjectFactory ) {
40
40
/* *
41
- * Generate function key meta classes with annotations indicating the functions and their group keys.
41
+ * Generate function key metaclasses with annotations indicating the functions and their group keys.
42
42
*
43
43
* Generally used for tooling.
44
44
*/
@@ -48,15 +48,15 @@ abstract class ComposeCompilerGradlePluginExtension @Inject internal constructor
48
48
* Include source information in generated code.
49
49
*
50
50
* Records source information that can be used for tooling to determine the source location of the corresponding composable function.
51
- * By default, this function is declared as having no side- effects. It is safe for code shrinking tools (such as R8 or ProGuard) to
51
+ * By default, this function is declared as having no side effects. It is safe for code shrinking tools (such as R8 or ProGuard) to
52
52
* remove it. This option does NOT impact the presence of symbols or line information normally added by the Kotlin compiler; this option
53
- * controls additional source information added by the Compose Compiler.
53
+ * controls only additional source information added by the Compose Compiler.
54
54
*/
55
55
val includeSourceInformation: Property <Boolean > = objectFactory.property(Boolean ::class .java).convention(false )
56
56
57
57
/* *
58
- * Save compose build metrics to this folder.
59
- * When specified, the Compose Compiler will dump metrics about the current module which can be useful when manually optimizing your
58
+ * Save Compose build metrics to this folder.
59
+ * When specified, the Compose compiler will dump metrics about the current module, which can be useful when manually optimizing your
60
60
* application's runtime performance. The module.json will include the statistics about processed composables and classes, including
61
61
* number of stable classes/parameters, skippable functions, etc.
62
62
*
@@ -67,10 +67,10 @@ abstract class ComposeCompilerGradlePluginExtension @Inject internal constructor
67
67
abstract val metricsDestination: DirectoryProperty
68
68
69
69
/* *
70
- * Save compose build reports to this folder.
70
+ * Save Compose build reports to this folder.
71
71
*
72
- * When specified, the Compose Compiler will dump reports about the compilation which can be useful when manually optimizing
73
- * your application's runtime performance. These reports include information about which of your composable functions are skippable,
72
+ * When specified, the Compose compiler will dump reports about the compilation, which can be useful when manually optimizing
73
+ * your application's runtime performance. These reports include information on which of your composable functions are skippable,
74
74
* which are restartable, which are readonly, etc.
75
75
*
76
76
* For more information, see these links:
@@ -134,7 +134,7 @@ abstract class ComposeCompilerGradlePluginExtension @Inject internal constructor
134
134
abstract val stabilityConfigurationFile: RegularFileProperty
135
135
136
136
/* *
137
- * List of paths to the stability configuration file .
137
+ * List of paths to stability configuration files .
138
138
*
139
139
* For more information, see this link:
140
140
* - [AndroidX stability configuration file](https://developer.android.com/develop/ui/compose/performance/stability/fix#configuration-file)
@@ -154,7 +154,7 @@ abstract class ComposeCompilerGradlePluginExtension @Inject internal constructor
154
154
/* *
155
155
* Include composition trace markers in the generated code.
156
156
*
157
- * When `true`, this flag tells the compose compiler to inject additional tracing information into the bytecode, which allows showing
157
+ * When `true`, this flag tells the Compose compiler to inject additional tracing information into the bytecode, which allows showing
158
158
* composable functions in the Android Studio system trace profiler.
159
159
*
160
160
* For more information, see this link:
@@ -163,7 +163,7 @@ abstract class ComposeCompilerGradlePluginExtension @Inject internal constructor
163
163
val includeTraceMarkers: Property <Boolean > = objectFactory.property(Boolean ::class .java).convention(true )
164
164
165
165
/* *
166
- * A set of Kotlin platforms to which the Compose plugin will be applied.
166
+ * A set of Kotlin platforms to which the Compose compiler plugin will be applied.
167
167
*
168
168
* By default, all Kotlin platforms are enabled.
169
169
*
@@ -192,9 +192,9 @@ abstract class ComposeCompilerGradlePluginExtension @Inject internal constructor
192
192
.convention(KotlinPlatformType .values().asIterable())
193
193
194
194
/* *
195
- * A set of feature flags to enable. A feature requires a feature flags when it is in the process of becoming the default
196
- * behavior of the Compose compiler. Features in this set will eventually be removed and disabling will no longer be
197
- * supported. See [ComposeFeatureFlag] for the list of features currently recognized by the plugin.
195
+ * A set of feature flags to enable. A feature requires a feature flag when it is in the process of becoming the default
196
+ * behavior of the Compose compiler. Features in this set will eventually be removed and integrated as baseline behavior;
197
+ * after that, disabling them will no longer be supported. See [ComposeFeatureFlag] for the list of features currently recognized by the plugin.
198
198
*
199
199
* @see ComposeFeatureFlag
200
200
*/
0 commit comments