Add Hot Module Replacement with Sloth#3
Merged
Juxtap0siti0n merged 3 commits intomainfrom Mar 20, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR integrates the Sloth framework into the build by adding a new Maven repository, switching panel/Sloth dependencies, applying a Sloth-related Gradle plugin, and providing a local run configuration for deployment.
Changes:
- Add
repo.dairy.foundationMaven repository and update dependencies to Sloth-compatible coordinates. - Apply the
dev.frozenmilk.sinister.sloth.loadplugin via a new TeamCode buildscript classpath. - Add an IntelliJ/Android Studio Gradle run configuration for
:TeamCode:deploySlothand mention Sloth in the README setup steps.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| build.dependencies.gradle | Adds Dairy Maven repo and swaps/adds Sloth-related dependencies. |
| TeamCode/build.gradle | Adds buildscript classpath + applies Sloth load plugin. |
| README.md | Adds a setup note about optionally using Sloth. |
| .idea/runConfigurations/deploySloth.xml | Adds an IDE Gradle run configuration for deploying via Sloth. |
Files not reviewed (1)
- .idea/runConfigurations/deploySloth.xml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Author
|
Copilot's suggestion was reasonable in theory but Dairy's dependency tree spans too many group IDs to filter cleanly. It's suggestions are not reasonable to implement. |
Collaborator
|
Looks good |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces new build dependencies and configures the project for integration with the Sloth framework and related libraries. The changes primarily focus on updating dependency sources, adding new plugins, and setting up a Gradle run configuration for deployment.
Dependency and plugin integration:
dev.frozenmilk.sinister.sloth.loadplugin and its buildscript dependency toTeamCode/build.gradle, enabling new build features related to Sloth.build.dependencies.gradleto usecom.bylazar.sloth:fullpanelsand addeddev.frozenmilk.sinister:Sloth, replacing the previouscom.bylazar:fullpanelsdependency.Repository configuration:
https://repo.dairy.foundation/releasesas a Maven repository in bothbuild.dependencies.gradleand thebuildscriptsection ofTeamCode/build.gradleto support new dependencies. [1] [2]Project tooling:
.idea/runConfigurations/deploySloth.xmlto provide a Gradle run configuration for deploying Sloth, streamlining local development and deployment workflows.