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

Backported support for more mill-specifics in $ivy-import #1561

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

lefou
Copy link
Member

@lefou lefou commented Nov 11, 2021

Support $MILL_BIN_PLATFORM placeholder and new $ivy.g::a::v syntax (borrowed from Scala JS/Native dependency notation)

Also updated Documentation and renamed two pages (Modules => Plugins).

See pull request: #1485

Support $MILL_BIN_PLATFORM placeholder and new $ivy.`g::a::v` syntax (borrowed from Scala JS/Native dependency notation)

Also updated Documentation and renamed two pages (Modules => Plugins).

See pull request: com-lihaoyi#1485

.Example: Use `mill-contrib-bloop` plugin matching the current Mill version
----
import $ivy:`com.lihaoyi:mill-contrib-bloop:$MILL_VERSION`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be:

Suggested change
import $ivy:`com.lihaoyi:mill-contrib-bloop:$MILL_VERSION`
import $ivy.`com.lihaoyi:mill-contrib-bloop:$MILL_VERSION`

?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're absolutely right. I plan to also pack-port PR #1526 and therefore will keep this as-is to avoid clashes.


.Example: Using `mill-vcs-version` plugin matching the current Mill Binary Platfrom
----
import $ivy:`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.2`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here:

Suggested change
import $ivy:`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.2`
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.2`

@lefou lefou merged commit 901301a into com-lihaoyi:0.9.x Nov 11, 2021
@lefou lefou deleted the backport-1485 branch November 11, 2021 13:02
@lefou lefou added this to the after 0.9.9 milestone Nov 11, 2021
@lefou lefou mentioned this pull request Nov 12, 2021
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.

2 participants