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

Migrate from Gradle IntelliJ Plugin (v1) to IntelliJ Platform Gradle Plugin (v2) #188

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

duemir
Copy link
Member

@duemir duemir commented Sep 25, 2024

Fixes #187
No functional changes are expected. Only adopting a new version of the build system from JetBrains for futureproofing. Migrating from Gradle IntelliJ Plugin (1.x) | IntelliJ Platform Plugin SDK

JetBrains Annotations dependency shows up twice. Apparently, in two different versions. @NotNull annotation in one has ElementType.TYPE_USE; in another - it doesn't. The latter is used during the compilation with the new gradle plugin. Hence, I had to remove a subset of the @NotNull annotations to make this plugin compile. I suspect once the baseline is updated, it will change and this annotation can be added back.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

…Plugin (v2)

* Add missing instrumentation and verification dependencies
* Adjust `ideaVersion` compatibility based on new verifier expectations
* Complete configuration of plugin verification
* Adjust `Jenkinsfile` appropriately
* Remove some `@NotNull` annotations which were breaking compilation
@duemir duemir added the internal Pull requests that update anything related to building the plugin but not the plugin itself label Sep 25, 2024
@duemir duemir self-assigned this Sep 25, 2024
@duemir
Copy link
Member Author

duemir commented Oct 22, 2024

This is still a draft because verifier stopped scanning all the versions between the current and the latest. And I cannot easily find a way to make it do it again. I need to ask on JetBrains Slack or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Pull requests that update anything related to building the plugin but not the plugin itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrating from Gradle IntelliJ Plugin (1.x)
1 participant