gradle / cookbook

Gradle Cookbook is an open-source collection of recipes, guides and examples for the Gradle Build Tool
https://cookbook.gradle.org/
Other
22 stars 7 forks source link

Update Documentation: Enhance documentation of Gradle for Android #13

Closed abhirajadhikary06 closed 4 weeks ago

abhirajadhikary06 commented 1 month ago

This PR resolves Issue #9 with the following updates:

Gradle Build Overview: Detailed AGP role, build types (debug, release). Build Management: Flavors, product dimensions, dynamic delivery modules. Managing Dependencies: Version conflicts, catalogs, Kotlin Multiplatform. Building Projects: Gradle wrapper, APKs, CI/CD steps. Optimizing Builds: Build caching, parallel execution, Gradle Daemon. Extending AGP: Custom plugins, task integration. Migration Guide: Groovy to Kotlin DSL, Kapt to KSP. Troubleshooting AGP: Common build issues, bottlenecks. @oleg-nenashev, please review and merge to the main branch if everything looks good.

abhirajadhikary06 commented 4 weeks ago

@oleg-nenashev Please check for the changes I have made according to the suggestions requested by you.

oleg-nenashev commented 4 weeks ago

Looks like troubleshooting and performance contents haven't been moved yet, right?

abhirajadhikary06 commented 4 weeks ago

A new readme for troubleshooting page has been added already and some contents have been added too.

Edit : Sorry for the overlook I am adding the contents...just give me few minutes.

Edit - 2 : Now the contents are updated.

abhirajadhikary06 commented 4 weeks ago

Hope you could merge my contents with the main branch now.

abhirajadhikary06 commented 4 weeks ago

Ok Sir, I'll be doing the changes in some moment.

oleg-nenashev commented 4 weeks ago

Thank you! And no need to use "sir" πŸ˜‰

On Thu, Oct 24, 2024, 15:46 Abhiraj Adhikary @.***> wrote:

Ok Sir, I'll be doing the changes in some moment.

β€” Reply to this email directly, view it on GitHub https://github.com/gradle/cookbook/pull/13#issuecomment-2435345269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAW4RIG54EUVKQKMPDS3GNDZ5D24BAVCNFSM6AAAAABQMXZCM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZVGM2DKMRWHE . You are receiving this because you were mentioned.Message ID: @.***>

-- CONFIDENTIALITY NOTICE: The contents of this email message, and any attachments, are intended solely for the addressee(s) and may contain confidential, proprietary and/or privileged information legally protected from disclosure. If you are not the intended recipient of this communication, or if you received this communication by mistake, please notify the sender immediately and delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, retransmission, dissemination, copying or storage of this message or its attachments is strictly prohibited.

abhirajadhikary06 commented 4 weeks ago

Please fix indenting of the Kotlin code, and then we are ready to go. I do have some ideas about restructuring the texts, but I will do them in the subsequent PRs I found indentation errors in (### 4. Building Projects) :

tasks.register("assembleDebug")  {
doLast {
println("Building APK in debug mode...")
}
}

Corrected to :

tasks.register("customAssembleDebug") {
doLast {
println("Building APK in debug mode...")
}
}

Another error was found in (### 8. Troubleshooting AGP) :

configurations.all {

resolutionStrategy {

force("com.google.guava:guava:27.0.1-android")

}

} Corrected to :

configurations.all {
    resolutionStrategy {
        force("com.google.guava:guava:27.0.1-android")
    }
}

I hope now it is all set to be merged.

abhirajadhikary06 commented 4 weeks ago

Thank you! And no need to use "sir" πŸ˜‰

I feel that addressing you as "Sir" is essential, given the immense seniority and experience you hold in your field. It’s a level of expertise that would take me years to achieve. The way you guided me through the errors, while being so understanding, truly reflects both your humanity and your seniority πŸ˜ŠπŸ™

oleg-nenashev commented 4 weeks ago

I feel that addressing you as "Sir" is essential, given the immense seniority and experience you hold in your field...

This is mostly a cultural matter. I mentored quite a lot of students from India, and I know using "Sir" is common there, as well as other gendered titles. Open-source communities are normally informal and many people may get irritated, and many explicitly say to avoid that due to the risk of gender mistakes, e.g. https://google.github.io/gsocguides/student/communication-best-practices , https://zulip.com/development-community/#communication-style .

abhirajadhikary06 commented 4 weeks ago

If I had the permission to improve the Readme of the Gradle's original repo also add Gradle's participation in Hacktober 2024, then I would done that after raising a new issue on the same.