-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
packagecode: gradle nebula dependency lock parser #2761
Comments
@tardyp note that I have done quite a bit of research on how to parse gradle builds at least the Groovy kind, and we could likely consider the Kotlin kind too |
@pombredanne That particular request is about nebula kind of package locks. nebula looks like the poetry of gradle. Cool kids use it instead of the default gradle pinning method. Big advantage I see is that it is a lockfile and there is no need to run the gradle toolchain to extract the info. It is just a json file. |
I think we should also support first the standard Gradle lockfile: https://docs.gradle.org/current/userguide/dependency_locking.html
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
org.springframework:spring-beans:5.0.5.RELEASE=compileClasspath, runtimeClasspath
org.springframework:spring-core:5.0.5.RELEASE=compileClasspath, runtimeClasspath
org.springframework:spring-jcl:5.0.5.RELEASE=compileClasspath, runtimeClasspath
empty=annotationProcessor |
Indeed... We currently generate the dependency tree manually at project milestones :( |
Indeed. I believe this should be closed in favor of only supporting the Gradle built-in dependency locking mechanism. |
Short Description
gradle is a build tool for the ajva ecosystem especially popular in android apps.
nebula gradle dependency lock allows developer to lock their gradle dependencies and sub dependencies to specific versions
packagecode should be able to parse this simple information
Possible Labels
Select Category
Describe the Update
lock format is documented here:
https://github.com/nebula-plugins/gradle-dependency-lock-plugin/wiki/Usage#lock-file-format
It is a simple json format that clearly shows the packages and versions.
Should be quite easy to parse
How This Feature will help you/your organization
This will have using scancode to extract our gradle dependencies.
Possible Solution/Implementation Details
Example/Links if Any
Can you help with this Feature
Renault will probably contribute this feature in the next month
The text was updated successfully, but these errors were encountered: