Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Fix the support for plugin dependencies inside the plugin dev environment #125

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

hlxid
Copy link
Member

@hlxid hlxid commented Aug 19, 2019

The PomInclusionPlugin added in #113 didn't work in the plugin developer environment because sbt seems to only check the unmanagedBase for auto-plugins, not unmanagedJars that was used to load the build jar.

This PR moves the jar of the build code in the plugin dev environment from bin/chatoverflow-meta-build-*.jar to project/lib/chatoverflow-meta-build-*.jar.

By this the jar is in the unmanagedBase directory and sbt loads the PomInclusionPlugin and the dependency support for plugins is fixed in the plugin dev environment.

…ment

The PomInclusionPlugin didn't work in the plugin developer environment
because sbt seems to only check the unmanagedBase for auto-plugins,
not unmanagedJars that was used to load the build jar.
This commit moves the jar of the build code in the plugin dev environment
from `bin/chatoverflow-meta-build-*.jar` to `project/lib/chatoverflow-meta-build-*.jar`.
By this the jar is in the unmanagedBase directory and sbt loads
the PomInclusionPlugin and the dependency support for plugins is working
in the plugin dev environment.
@hlxid hlxid merged commit 965cd61 into develop Aug 19, 2019
@hlxid hlxid deleted the fix/sbt-plugins-in-dev-env branch November 29, 2019 18:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant