Cash App's engineering team built a Gradle plugin called Licensee to automate open source license discovery and validation for Android (and any Gradle-based) projects. The plugin normalizes raw license metadata from dependencies using SPDX identifiers, enforces an allow-list of accepted licenses at build time, and outputs structured JSON for display in app UIs. It handles edge cases like internal dependencies, commercial SDKs, and non-standard licenses.

2m read timeFrom code.cash.app
Post cover image