Modules, modules everywhere

I have joined asanarebel.com as Senior Android developer at the beginning of February. Asana Rebel is a health and fitness app with workouts for different body and health goals, but all of them are yoga inspired. When I joined, the plan was to increase the team size and raise the code base overall quality, focusing…

Kotlin DSL Gradle files, multiple modules and shared variables

This doesn’t want to be a real article, but more a crash course about Kotlin DSL for Gradle. The crucial point is the possibility of migrating an existing project to the new Kotlin DSL for Gradle, in an incremental, modularized fashion. Below we have a pretty standard root project build.gradle file: https://gist.github.com/hamen/7fa25a3a7ad8452873051f7782c77db5 The parts that…