Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Remove optional dependency on JetBrains Shell. #752

Merged
merged 2 commits into from
Jul 4, 2019

Conversation

jansorg
Copy link
Member

@jansorg jansorg commented Jul 4, 2019

If we depend on it our completion tests fail (among others), as the Shell plugin is also contributes completions and more.
We're now checking for the ShFIleType by simple class name.

Fixing this in gradle is non trivial as we'd had to extract the sources referencing
shell into a new source dir and modify the build only when tests are run without affection the sourceDirs when a production build is created.
The other changes in this PR are reverting the previously applied changes to Gradle, which were insufficient.

We're now referencing the ShFileType by name and not by reference to avoid the dependency on the plugin. This was the only reference to code of the Shell plugin.

If we depend on it our completion tests fail (among others), as
the Shell plugin is also contribution completions and more.
Fixing this in gradle is non trivial as we'd had to extract the sources referencing
shell into a new source dir and modify the build only when tests are run.
We're now referencing the ShFileType by name and not by reference to
avoid the dependency on the plugin. This was the only reference to
code of the Shell plugin.
@jansorg jansorg merged commit 75341a9 into idea-192.x Jul 4, 2019
@jansorg jansorg deleted the idea-192-compileFix branch July 4, 2019 10:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant