Compose Hot Reload Argument Provider
class ComposeHotReloadArgumentProvider(val composeHotReloadAgentConfiguration: FileCollection, val enabled: Provider<Boolean>) : CommandLineArgumentProvider
Provides JVM arguments for enabling Compose Hot Reload functionality when running the IDE.
This argument provider configures the necessary JVM flags to support hot reloading of Compose UI components during development, including enabling enhanced class redefinition and attaching the Compose hot reload Java agent.
Throws
Invalid User Data Exception
if the configuration doesn't resolve to exactly one JAR file.
Properties
Link copied to clipboard
@InputFiles
@PathSensitive(value = PathSensitivity.RELATIVE )
The file collection containing the Compose hot reload agent JAR. This configuration must resolve to exactly one JAR file.