Tag: Gradle
-
Gradle Version Catalogs
As many of you already might know, Gradle has introduced a new (yet unstable) way to centralize dependency declarations. In huge codebases and in multi-module projects, managing gradle dependencies has always been hard. Another problem that previous solutions had, was that no two projects were using gradle declaration or configurations the same. In Android, you…
-
Gradle Convention Plugin
As many of us already know, the Google Android team will soon start using a new way of applying plugins in Android/Kotlin modules. It’s more an improvement and a try to centralize the plugin usage, rather than just copying or having duplicate code all around the android/kotlin modules in your project. In case your plugin…
-
Setting up Gradle with Kotlin DSL, a simple guide
Kotlin is a very a pretty nice adoptive language and user friendly. It really replaced Java from my everyday programming. However, it was not enough. We all know that groovy runs on JVM. So, why do I even need a new language just for my builds? Can’t it be Java? So Java is the basic…
-
An early look at Dagger Reflect
When it comes to solving the Dependency Inversion principle, there is no better way then using annotations in the JVM world. However, generating code in compile time has some costs. For example the build time. And I believe this is the only thing dagger can’t do well alone. This is not a bye bye dagger…