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 gradle to build-logic / composite build module to share build logic between modules #16268

Conversation

AbdelrahmanEsam
Copy link
Contributor

Purpose / Description

Describe the problem or feature and motivation

Fixes

  • Fixes #

Approach

How does this change address the problem?

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration (SDK version(s), emulator or physical, etc)

Learning (optional, can help others)

Describe the research stage

Links to blog posts, patterns, libraries or addons used to solve this problem

Checklist

Please, go through these checks before submitting the PR.

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

@david-allison david-allison added the Needs Author Reply Waiting for a reply from the original author label Apr 24, 2024
Copy link
Member

@david-allison david-allison left a comment

Choose a reason for hiding this comment

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

This hasn't been discussed and there's a lot here

What's the advantage?

This needs the PR description filled in

@AbdelrahmanEsam
Copy link
Contributor Author

@david-allison hi david .... I will discuss this with you at discord

@david-allison
Copy link
Member

Thanks! Can you post the reply here so people looking into the history can understand

@AbdelrahmanEsam AbdelrahmanEsam force-pushed the migrate-gradle-to-build-logic-module branch from 06f9bee to adc9754 Compare April 24, 2024 20:30
@AbdelrahmanEsam AbdelrahmanEsam force-pushed the migrate-gradle-to-build-logic-module branch from adc9754 to ec3f402 Compare April 24, 2024 21:15
@AbdelrahmanEsam AbdelrahmanEsam force-pushed the migrate-gradle-to-build-logic-module branch from eca98c0 to 7e3be83 Compare April 24, 2024 23:00
@david-allison
Copy link
Member

I don't see a message in Discord and I'm getting loads of notifications from this

It would be useful to discuss first, as it's currently a "close & don't merge" unless there's reasoning given

Copy link
Contributor

@lukstbit lukstbit left a comment

Choose a reason for hiding this comment

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

Ok with the idea not with the implementation(too much extracted, too fragmented).
This also really needs a series of smaller precise commits not just one mega commit.

@AbdelrahmanEsam
Copy link
Contributor Author

@david-allison hi david hope you are doing well .... can you help me figureing out why emulator tests fails ?

@david-allison
Copy link
Member

I want to go back to lukstbit and my unanswered comments first.

There's little point of getting this passing CI if we don't know whether we're going to merge it or not.

I'll rerun CI

@AbdelrahmanEsam
Copy link
Contributor Author

well I am using a build-logic module for building the app but why ?
well this have good results like
1- you are using regular kotlin code for build your app so it's so much easier to any kotlin dev to do it .
2- now your build is composable so you can share the same gradle plugin to more than one module instead of rewrite the same logic in more than one module and when you alter it you are altering it with all of your modules so this is good for archtiecture .

you can read more about composite build here
https://docs.gradle.org/current/userguide/composite_builds.html

Copy link
Member

@david-allison david-allison left a comment

Choose a reason for hiding this comment

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

Comment stands

Ok with the idea not with the implementation(too much extracted, too fragmented).
This also really needs a series of smaller precise commits not just one mega commit.

Copy link
Contributor

Hello 👋, this PR has had no activity for more than 2 weeks and needs a reply from the author. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically

@github-actions github-actions bot added the Stale label May 28, 2024
@github-actions github-actions bot removed the Stale label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Has Conflicts Needs Author Reply Waiting for a reply from the original author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants