Skip to content

Initial work towards compiler plugin support: Update docs and add test placeholder #1573

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vidishagawas121
Copy link

Initial work towards compiler plugin support

This PR lays the groundwork for adding compiler plugin support to Scaladex by improving documentation and setting up test placeholders.

Changes Made

Documentation Updates

  1. Updated README.md:

    • Added comprehensive list of supported binary version formats
    • Added section about compiler plugin support
    • Provided guidance for users with compiler plugins
    • Improved binary version documentation
  2. Enhanced BinaryVersion.scala:

    • Added detailed class documentation
    • Included examples of different binary version formats
    • Added TODO section outlining steps for compiler plugin support implementation
    • Documented required changes for full version number support
  3. Added Test Infrastructure:

    • Created test placeholder in BinaryVersionTests.scala
    • Added example test cases for future implementation
    • Prepared test scenarios for compiler plugin version parsing

Implementation Plan

The following steps are planned for full compiler plugin support:

  1. Extend the Platform type to include CompilerPlugin
  2. Update the Parser to handle full version numbers (e.g., _2.13.10)
  3. Modify the artifact indexing logic to recognize compiler plugin artifacts

Related Information

This work is part of a larger effort to improve Scaladex's support for compiler plugins, which currently use full Scala versions (e.g., _2.13.10) and require special handling.

Testing

  • No functionality changes in this PR
  • Added placeholder tests that will be implemented in future PRs
  • Documentation changes have been reviewed for accuracy

Checklist

  • Updated documentation
  • Added test placeholders
  • Maintained code formatting
  • No breaking changes

@vidishagawas121
Copy link
Author

@adpi2 @kannukalra this is a small initial PR to help understand the codebase for GSoC 2025 project idea (https://github.com/scalacenter/scaladex/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant