-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue caching Springboot app #472
Comments
This tool is separate from what you'll see online in a GitHub repo description or its dependency graph and is meant more for local analysis. Sorry for the confusion there I don't have much experience with the Java ecosystem and have relied on contributors to build support. I would gladly welcome any PRs that add Maven support as well as provide any help needed in the integration! The core challenges are
Similarly, I'd welcome any PRs that update the |
Thanks for the response @jonabc . I'll just wait and watch, then, since I'm not a Java dev! |
@RyanOattes an update to the Gradle source was shipped in release 4.2.0. The problems resolved by the update sound very similar to what you called out in this issue. Can you give that a shot and let me know if you're able to use the Gradle source more reliably now? There's still no support for Maven unfortunately. |
Using Licensed already for React app via npm source (works great) but struggling to use for Springboot apps. First, would like to confirm I'm not missing a source that supports Maven pom.xml files. The dependency analysis on Github.com supports them, but I don't think I see a Licensed source for them.
Given that, I converted a clone of the app repo to Gradle so we can use that source, but running "gradle init" on the root directory. It looks like Licensed Gradle support is a bit dated - my first hint was the default config looks for the "runtime" configuration in build.gradle, which has been deprecated in favour of "implementation". I also hit an issue that "implementation" cannot be resolved. I punched through both of those issues by adding this to build.gradle:
configurations {
runtime.extendsFrom implementation {
canBeResolved = true
canBeConsumed = true
}
}
Current status is that Licensed spits out errors like this:
and
Based on this thread (jk1/Gradle-License-Report#203) it looks like this was a known issue with the Gradle-License-Report plugin that was resolved in Aug 2021 with an upgrade to 2.0 to support Gradle7.
In the Licensed repo, I see a commit (failed build) updating Gradle to the newest version of the plugin from June 2021, but that's before the new plugin was available.
So - That's where I am. If there is Maven support I'd love to drop the whole Gradle thread, but failing that some guidance on where to go from here would be great.
The text was updated successfully, but these errors were encountered: