Skip to content

Enable Compose Hot Reload for Desktop sample #407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
alias(baseLibs.plugins.androidLibrary) apply false
alias(baseLibs.plugins.composeMultiplatform) apply false
alias(baseLibs.plugins.composeCompiler) apply false
alias(baseLibs.plugins.composeHotreload) apply false
alias(baseLibs.plugins.kotlinMultiplatform) apply false
alias(baseLibs.plugins.dokka)
alias(baseLibs.plugins.aboutLibraries) apply false
Expand Down
3 changes: 2 additions & 1 deletion sample/desktop/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
com.mikepenz.binary-compatibility-validator.enabled=false
com.mikepenz.binary-compatibility-validator.enabled=false
com.mikepenz.hotreload.enabled=true
Copy link
Preview

Copilot AI May 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Add a comment above this property explaining that it enables Compose hot-reload for the desktop sample, so future maintainers understand its purpose.

Copilot uses AI. Check for mistakes.

6 changes: 5 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ pluginManagement {
}
}

plugins {
id("org.gradle.toolchains.foojay-resolver") version "1.0.0"
}

dependencyResolutionManagement {
repositories {
google()
Expand All @@ -24,7 +28,7 @@ dependencyResolutionManagement {

versionCatalogs {
create("baseLibs") {
from("com.mikepenz:version-catalog:0.3.7")
from("com.mikepenz:version-catalog:0.3.8")
}
}
}
Expand Down