cashapp / licensee

Gradle plugin which validates the licenses of your dependency graph match what you expect
https://cashapp.github.io/licensee/docs/1.x/
Apache License 2.0
626 stars 29 forks source link

Support Android dynamic feature modules #83

Closed sb-software closed 1 year ago

sb-software commented 2 years ago

As far as I can tell the plugin doesn't currently work for dynamic feature modules used in Android applications. It would be a nice thing to have as dynamic features is becoming more and more common, at least in larger Android projects. Perhaps it would be possible from the application module to detect android.dynamicFeatures dependencies and traverse into them to find additional third-parties to check?

JakeWharton commented 2 years ago

I'm not sure about your claims about them becoming common, but yes supporting them is likely trivial.

JakeWharton commented 2 years ago

This is blocked on AGP 7.3 being stable for https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/variant/Component#runtimeConfiguration().