github JetBrains/compose-hot-reload v1.0.0-alpha01

latest releases: v1.0.0-rc01+167, v1.0.0-rc01+166, v1.0.0-rc01+165...
6 months ago

🎉 This is the first deployment to the 'maven central' repository.
Note: This publication follows the 'Stability of Kotlin components' rules defined here:
https://kotlinlang.org/docs/components-stability.html#github-badges-for-kotlin-components

Alpha means "use at your own risk, expect migration issues"
We intend to productize this idea, but it hasn't reached its final shape yet.

Plugin

id("org.jetbrains.compose.hot-reload") version "1.0.0-alpha01"

⚠ Note

Make sure that mavenCentral() is listed in your repositories

pluginManagement {
    repositories {
        mavenCentral()
    }
}

Features

Hot Reload

  • Add a function
  • Remove a function
  • Add a class
  • Remove a class
  • Add a property to a class
  • Remove a property from a class
  • Change the signature of a function
  • Add lambdas
  • Change static fields
  • Change implementations of interfaces/abstract classes and see the UI reflecting the change

Integrations

  • Gradle: The Gradle plugin will fully setup your project (hand-free)
  • Amper: TBA
  • IntelliJ/Android Studio plugin development (supported, manual agent setup required)

Advanced Features

  • Ships a test framework for Compose libraries to test their behaviour in hot-reload scenarios.
  • Advanced runtime APIs: Allow hooking into the reload and execute custom code after reload

Dev Tooling

The Gradle/Amper integrations will automatically spin up a 'recompiler' and allow for advanced dev-tooling
image

Don't miss a new compose-hot-reload release

NewReleases is sending notifications on new releases.