Modify the sloop in sonarlint-intellij

Good afternoon,

While developing a custom analyser for Gosu language,
I find myself needing to customise the sonarlint core files ( version 10.3.1 ).
In the past, it was as easy as building sonarlint with the custom sonarlint core files and packaging everything, but since the “sloop” I am struggling to rebuild one accepted by sonarlint.

It seems that I can only use a pre-existing sloop. To solve my issue, I would need to understand how to upload this artifact:
“sloop”(“org.sonarsource.sonarlint.core:sonarlint-backend-cli:${libs.versions.sonarlint.core.get()}:no-arch@zip”)

May I see a screenshot of the file in your artifactory or anything that can help me customise and re-upload my own sloop that would be accepted by sonarlint-intellij?

Thank you in advance!

I maintain a fork of sonarlint-core for a custom language, you can see how this is handled in this repository: GitHub - Riverside-Software/sonarlint-core at OEWhiteList-10.4
You can compare the OEWhiteList-10.4 branch with tag 10.4.0.78855 in the upstream repo.

All artifacts are pushed to a private Nexus repository, and re-used in sonarlint-language-server and sonarlint-vscode (I don’t use sonarlint-intellij). I only manage the linux and windows targets.

Gilles

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.