How to Build a Custom Gradle Plugin to Share Project Config - Multi-Module Architecture

preview_player
Показать описание
In this video I'll show you how you can manage a multi-module project's config by using a custom Gradle plugin.

⭐ Learn multi-module architecture here:

Get my FREE PDF about 20 things you should never do in Jetpack Compose:

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:

Follow me on Instagram for insights into my live as an Android developer:

Get the initial source code here:

Get the final source code for this video on GitHub:
Рекомендации по теме
Комментарии
Автор

I recently migrated a multimodule project from Groovy to Kotlin DSL and also used convention plugins for sharing configurations. I must say these custom gradle plugins made my work alot easier.

bensekyondwa
Автор

For simplify, you can also set kotlin jvmToolchain(18) and remove compileOption and jvmTarget in kotlin branch, much cleaner for me

simonet
Автор

This is so helpful - One Question though, what is the difference between Dependencies and Plugins?

tonnie
Автор

I will add this things to my current app which already migrate to Kotlin DSL, thanks for sharing.

edinofri
Автор

not all heroes wear capes <3 thanks brother

luukachoo
Автор

Hello Philipp, I have a question regarding multi-modules, especially when dealing with more than 30 features. How do we handle the management of having this many build.gradle.kts files, and what are the drawbacks, particularly when examining the build variants, which may result in a substantial list?

jayceeddeyro
Автор

Hi Philipp,
Can you make 1 video on mockk unit testing library? Please explain me

NiteshSingh-bvlu
Автор

Hi Philip, Can we use Toml with custom gradle plugin?

cqfsxdq
Автор

Hello @Phillip how would you increment version name or number constants in fastlane or some CICD with this custom implementation

farazahmed
Автор

@Philipp, What is the difference between kotlin library and android library? When to use one or the other? That option is available when you are going to add a module to a project.

ronyrodriguez
Автор

Will this work on a groovy version of gradle? Or should I migrate it to kotlin first?

morbix
Автор

Hi @Philipp, Very nice and detailed video. Can you tell me how the module can apply App level BuildConfig ?

anuragverma
Автор

hey Bro Good Day can you make a video please on how to shrink and Pro take Res File in android studio please or how to use ResGuard in Gradle 8.1

remingtonjames
Автор

How do i do it for an Application-Type Module?

diegoflassa
Автор

Don't know why is YouTube deleting my comments about the code for how to also add plugin to app module

dakshsemwal