No video
How to Build a Custom Gradle Plugin to Share Project Config - Multi-Module Architecture
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:
pl-coding.com/multi-module-co...
Get my FREE PDF about 20 things you should never do in Jetpack Compose:
pl-coding.com/jetpack-compose...
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/drop-table-ment...
Follow me on Instagram for insights into my live as an Android developer:
/ _philipplackner_
Get the initial source code here:
github.com/philipplackner/Mul...
Get the final source code for this video on GitHub:
github.com/philipplackner/Mul...
Пікірлер: 27
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.
@andrinovariswanto238
10 ай бұрын
W
Convention plugins are even better
For simplify, you can also set kotlin jvmToolchain(18) and remove compileOption and jvmTarget in kotlin branch, much cleaner for me
I will add this things to my current app which already migrate to Kotlin DSL, thanks for sharing.
not all heroes wear capes
very usefull tutorial. thx
This is so helpful - One Question though, what is the difference between Dependencies and Plugins?
Amazing.
Very nice...
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?
Hi Philipp, Can you make 1 video on mockk unit testing library? Please explain me
Hi @Philipp, Very nice and detailed video. Can you tell me how the module can apply App level BuildConfig ?
@TusharGogna
9 ай бұрын
+1
Hello @Phillip how would you increment version name or number constants in fastlane or some CICD with this custom implementation
@TusharGogna
9 ай бұрын
+1
@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.
@mateuszkolbusz4115
5 ай бұрын
It depends. If u need android platform code (Context, Broadcast receivers) go for android library. In other cases use the kotlin library.
Hi Philip, Can we use Toml with custom gradle plugin?
@diegohkdfln
4 ай бұрын
I'd like to know that too
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
Will this work on a groovy version of gradle? Or should I migrate it to kotlin first?
@dendroid4389
3 ай бұрын
it works with groovy as well
How do i do it for an Application-Type Module?
Don't know why is KZread deleting my comments about the code for how to also add plugin to app module