Skip to content
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

Add publishing of source archives #133

Merged
merged 4 commits into from
Mar 10, 2024

Commits on Mar 3, 2024

  1. Add task that zips main SystemVerilog source code into archive

    This will be part of the artifact that will be published by the project. The other part, aside from sources, will be metadata necessary to compile them.
    
    Currently, the task assumes that the SV source is in the conventional location. This will be fixed later to work in the general case.
    tudortimi committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    77d3b00 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Implement publishing of HDVL sources archive as own variant

    This can only be done by creating the artifact from a `SoftwareComponent`. This actually has to be a `SoftwareComponentInternal`, however, otherwise Gradle will complain about cast errors in the Maven publishing code. Unfortunately we have to implement an internal API.
    tudortimi committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    7839748 View commit details
    Browse the repository at this point in the history
  2. Remove usage of non-public API when defining component

    Defining custom components is possible using the public API: https://docs.gradle.org/8.6/userguide/publishing_customization.html#sec:publishing-custom-components.
    
    The name of the variant is not configurable anymore. It's just going to be the name of the configuration we used to define the variant. This is not a big deal, as the name is not used anywhere, only its attributes matter.
    tudortimi committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    2f8fde4 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Add example project that publishes to a dummy Maven repository

    We can add an example project that consumes this artifact once we implement that part.
    tudortimi committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1dd3095 View commit details
    Browse the repository at this point in the history