LeonDevLifeLog / gitea-idea-plugin

Gitea Plugin for Jetbrains IDEs.
MIT License
46 stars 5 forks source link

Update for IntelliJ IDEA 2024.1 #69

Closed TweakM closed 1 month ago

TweakM commented 2 months ago

It would be really nice if the plugin could be updated to be compatible with the 2024.1 version if IDEA. After updating, the following error message is displayed: Plugin 'Gitea' (version '0.3.3') is not compatible with the current version of the IDE, because it requires build 233.* or older but the current build is IU-241.14494.240

This plugin has been really useful, thank you for making this possible!

happy77 commented 2 months ago

As I regularly use the Gitea plugin, I have applied a quick workaround by enabling it to work on 2024.1. It seems there are no breaking changes in 2024.1 for git vcs support.

If you, like me, depend on it and cannot wait, just get the source and change the following lines in grade.properties: pluginVersion=0.3.3.1 pluginUntilBuild = 241.* platformVersion=2024.1

you will find the new plugin under build/distributions/Gitea-0.3.3.1.zip

then build it using grade and manually add the plugin, until LeonDevLifeLog gets around to upgrading it :)

TweakM commented 2 months ago

Thanks for suggesting this workaround. FYI: after running the build there was no build/distributions directory, but I found a build/lib directory containing the gitea-0.3.3.1.jar, which could be manually installed. @LeonDevLifeLog : Would you be able to tell if this workaround is also a structural solution (i.e. the pluginUntilBuild can safely be set to 241)?

LeonDevLifeLog commented 2 months ago

i will update this plugin soon

TweakM commented 1 month ago

Thank you!