Skip to content

Add Hot Module Replacement with Sloth#3

Merged
Juxtap0siti0n merged 3 commits intomainfrom
sloth
Mar 20, 2026
Merged

Add Hot Module Replacement with Sloth#3
Juxtap0siti0n merged 3 commits intomainfrom
sloth

Conversation

@awdev1
Copy link
Contributor

@awdev1 awdev1 commented Mar 20, 2026

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:

  • Added the dev.frozenmilk.sinister.sloth.load plugin and its buildscript dependency to TeamCode/build.gradle, enabling new build features related to Sloth.
  • Updated dependencies in build.dependencies.gradle to use com.bylazar.sloth:fullpanels and added dev.frozenmilk.sinister:Sloth, replacing the previous com.bylazar:fullpanels dependency.

Repository configuration:

  • Added https://repo.dairy.foundation/releases as a Maven repository in both build.dependencies.gradle and the buildscript section of TeamCode/build.gradle to support new dependencies. [1] [2]

Project tooling:

  • Added .idea/runConfigurations/deploySloth.xml to provide a Gradle run configuration for deploying Sloth, streamlining local development and deployment workflows.

@awdev1 awdev1 requested a review from Juxtap0siti0n March 20, 2026 17:23
@awdev1 awdev1 self-assigned this Mar 20, 2026
@awdev1 awdev1 added the enhancement New feature or request label Mar 20, 2026
@awdev1 awdev1 requested a review from TuckerzKnight March 20, 2026 17:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.foundation Maven repository and update dependencies to Sloth-compatible coordinates.
  • Apply the dev.frozenmilk.sinister.sloth.load plugin via a new TeamCode buildscript classpath.
  • Add an IntelliJ/Android Studio Gradle run configuration for :TeamCode:deploySloth and 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.

@awdev1
Copy link
Contributor Author

awdev1 commented Mar 20, 2026

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.

@Juxtap0siti0n Juxtap0siti0n merged commit f8dd2b1 into main Mar 20, 2026
2 checks passed
@Juxtap0siti0n
Copy link
Collaborator

Looks good

@awdev1 awdev1 removed the request for review from TuckerzKnight March 20, 2026 19:41
@awdev1 awdev1 deleted the sloth branch March 20, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants