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

Make Mu a normal compile-time dependency #20

Merged
merged 1 commit into from
Apr 15, 2020
Merged

Conversation

cb372
Copy link
Member

@cb372 cb372 commented Apr 15, 2020

I just tried publishing the plugin locally and using it in a project, and the muSrcGen task threw a ClassNotFoundException.

Mu will be on the classpath of an end-user's Mu application, but it won't be on the classpath of the sbt plugin. So I don't think a "provided" dependency makes sense here.

Confirmed locally that making it a normal dependency fixes the issue.

At first I was worried we might have a circular dependency between Mu and the plugin, but that's not true. We just need to release Mu first, bump the Mu dependency version in the plugin, then release the plugin.

I just tried publishing the plugin locally and using it in a project,
and the `muSrcGen` task threw a ClassNotFoundException.

Mu will be on the classpath of an end-user's Mu application, but it
won't be on the classpath of the sbt plugin. So I don't think a
"provided" dependency makes sense here.

Confirmed locally that making it a normal dependency fixes the issue.
@cb372 cb372 requested a review from juanpedromoreno April 15, 2020 15:10
@cb372 cb372 merged commit eef88ab into master Apr 15, 2020
@cb372 cb372 deleted the fix-mu-dependency branch April 15, 2020 15:27
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