Skip to content
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

Migrate to build-logic #465

Merged
merged 4 commits into from Sep 6, 2023
Merged

Migrate to build-logic #465

merged 4 commits into from Sep 6, 2023

Conversation

Iamlooker
Copy link
Member

Still need some work to perfect this impl. Will consider using version catalog in future.

This whole structure is taken from NowInAndroid sample application by Google

Still need some work to perfect this impl. Will consider using version catalog in future
Still need some work to perfect this impl. Will consider using version catalog in future
@Iamlooker Iamlooker merged commit 596a7cd into main Sep 6, 2023
0 of 4 checks passed
@Iamlooker Iamlooker deleted the migrate-build-logic branch September 6, 2023 04:16
@what-the-diff
Copy link

what-the-diff bot commented Sep 6, 2023

PR Summary

  • Reorganizing build structure
    To simplify and streamline the build process, the app's build structure was reorganized. Specifically, the build.gradle.kts file in the app module was updated removing old properties and using new DefaultConfig ones.

  • Introduction of the build-logic directory
    A more centralized build configuration was implemented with the new build-logic directory. This includes new files like gradle.properties and settings.gradle.kts.

  • Adding new files to the build-logic/structure directory
    New files related to the Android Application and plugins were added to further organize the build process within the build-logic/structure directory.

  • Renaming build logic files
    Files that contain default Android configurations and dependencies were moved and renamed to fit the new structure.

  • Removing unused plugin files
    Redundant files in the old build structure in buildSrc directory were removed improving maintenance and clarity.

  • Modification of module build.gradle.kts files
    The configuration files of modules core, core/common, core/data, core/database, core/datastore, core/model, core/network, and installer were adjusted. Removed unused properties and block related to the Android build to streamline the configuration of these modules.

  • Updating dependencies
    The dependencies of each module were updated to ensure compatibility and optimal function of tools and libraries used in the module's development.

  • Inclusion of build-logic to the settings
    The settings.gradle.kts file was updated to include the build-logic directory, ensuring that the new structure is recognized by the build configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant