Building an Android period tracker with Kotlin and Gradle
Picking the right build tool
I hit a wall deciding how to structure the build for my new Android period tracker. The standard advice is to evaluate every option from scratch, but Gradle is already deep in my workflow and fits this specific project better than starting over. I put it on stream like this:
Wiring up compiler flags
The real friction showed up when configuring compiler options. I needed to pass through experimental flags that standard build scripts do not expose by default. I had to lean on the Experimental Kotlin Gradle plugin API to wire everything together without breaking the dependency graph. It was a little scary to depend on unstable interfaces, but it kept the compile step fast and predictable while I focused on the domain logic.
Respecting platform conventions
Shipping an app for tracking menstrual cycles taught me that the build system is only half the battle. The other half is respecting the actual biology of the people using it. I spent a chunk of time reviewing assets and realized this platform rule:
That single convention forced me to redesign my preview graphics so nothing got clipped in the launcher. The domain math threw another curveball when I was mapping out the input fields for the tracking logic. I noticed one parameter had no downstream calculation and questioned why it existed at all:
It sat there as a dead branch in the data model until I remembered the physiological rules of cycle tracking. I spent an afternoon learning how cycles actually vary between individuals, which completely reshaped the algorithm.
Cutting scope for release day
Design decisions took a hit to keep the ship date intact. I had planned a full dark mode and custom tinted backgrounds to match the app's mood. Looking at the commit history, I decided to cut scope early:
I'm not doing dark and tinted for now
The existing palette covers the basics, and getting the tracking logic into users hands matters more than polished theming in release one. The build passed, the constraints are mapped, and I am done polishing for this version.
Written from a live stream transcript with AI help, reviewed by the author.