question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not all dependencies are included in OssLicensesMenuActivity

See original GitHub issue

Describe the bug Many dependencies are missing in generated third_party_license_metadata. Among missing are:

  • com.squareup.retrofit2
  • com.squareup.okhttp3
  • com.android.support
  • com.google.maps.android

and many others.

Desktop (please complete the following information):

  • Gradle version: 4.10.2
  • Android Studio version: 3.2.1
  • Plugin name and version: oss-licenses-plugin:0.9.4
  • play-services-oss-licenses:16.0.1

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:30
  • Comments:28 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
estrnodcommented, Jul 22, 2019

Is there some way to manually add missing licenses as a workaround, preferably in the build.gradle file as a configuration for the plugin?

2reactions
koji12000commented, Dec 11, 2018

In my environment, this problem happened. I share demo project. https://github.com/koji12000/ossLicensePluginDemo

Removing below from app/build.gradle, this problem doesn’t happen. implementation project(':library')

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does the Play Services OSS plugin shows the maven ...
The plugin + play-services-oss-licenses method for displaying licenses also takes into account your app's direct dependencies (e.g. org.
Read more >
Simple Display of Open Source License Info? | by Nate Ebel
A plugin that parses your dependencies' POM file and looks for license info; A library that includes an OssLicensesMenuActivity that will display the...
Read more >
How to use android Open Source Notices - Medium
The library goes through all your dependencies and provides an Activity which you can invoke from anywhere in your app.
Read more >
Include open source notices | Google Play services
Add the oss-licenses plugin to your dependencies. The following code snippet shows these steps: Kotlin DSL Groovy DSL ...
Read more >
Decide which components of Fenix to rip out, disable, or use
Audit "Must Include" Fenix dependencies ... We should quickly look at all components in the Include category and confirm they do not make ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found