# Gradle dependency license validation

DevFeed: [Gradle dependency license validation](<https://devfeed.tech/articles/gradle-dependency-license-validation-20887.md>)

Original publisher: [Read original article](<https://code.cash.app/gradle-dependency-license-validation>)

Author: Jake Wharton

Published: 2021-06-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Jake Wharton](<https://devfeed.tech/sources/jake-wharton.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [spdx](<https://devfeed.tech/topics/spdx.md>), [Android](<https://devfeed.tech/topics/android.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [software-license](<https://devfeed.tech/tags/software-license.md>), [spdx](<https://devfeed.tech/tags/spdx.md>), [validation](<https://devfeed.tech/tags/validation.md>)

## AI overview

This post explains how Cash App automated dependency license discovery and validation for its Android app using a new Gradle plugin called Licensee. The plugin normalizes license data to SPDX identifiers, supports allow-list validation that can fail builds for disallowed licenses, and serializes the results as JSON for use in the app's UI. It is intended to work with any Gradle-based project.

## Source excerpt

This post was published externally on Cash App Code Blog. Read it at https://code.cash.app/gradle-dependency-license-validation.