Open bric3 opened 1 year ago
This is the blog post where they announce Apple Silicon compatibility. https://blog.jetbrains.com/idea/2020/12/intellij-idea-2020-3-1/
I'll try to find out the exact version tho.
I went through issues and blog posts.
Initial support seems to be on 203.6682.168
.
If we want some Silicon fixes, we need to pick 203.8084.24
.
If we want a fully working Silicon environment, we need to pick 211.6693.111
.
@bric3 could you try which one of these builds fine? If the first one is ok, I'd pick that one.
So I noted two things:
I'm unsure why the build always fails if the type is IntelliJ Ultimate. I believe this is a bug in gradle-intellij-plugin. So I had to change the type
platformType=IC
Resource not found: /idea/nullApplicationInfo.xml
ErrorThe following assumes IC
.
The build fails on buildSearchableOptions
task because this task actually runs the IDE.
Using ./gradlew clean buildPlugin
here's the different results (only from the :buildSearchableOptions
task)
And modifying the gradle.properties
this way, e.g.
platformVersion=211.6693.111
pluginSinceBuild=211.6693
203.6682.168
203.8084.24
With 211.6693.111
the build completes.
Thanks! So basically 211.6693.111
would be the only option, but specifying IC
instead of IU
is still required?
I've read the linked issue. I think we can switch to IC
if it's necessary. The issue won't be resolved in a short time imo.
I'm ok with switching to 211.6693.111
in 0.22.1
btw.
I'd like to release 0.22.0
in the current state so that 2020.2 gets all the latest fixes too.
I posted a workaround in the gradle-intellij-plugin issue, on the bright side IC is less heavy than IU to download. Something like might work, but might be required to be removed when ever this plugin bumps it platform version to a more recent version like 2022.1.
runIde {
+ providers.gradleProperty("platformType").get().let {
+ if (it == "IU") {
+ systemProperty("idea.platform.prefix", "")
+ }
+ }
}
The Resource not found
issue is fixed, now waiting for a release. So that fits with the proposed schedule.
That sounds perfect. I'll publish 0.22.0
tomorrow or Wednesday, and then bump to 0.22.1
and set the minimum version to 211.6693.111
.
After extending support for 231, I believe it's time to upgrade the base version.
Building on mac is harder now on ARM based macs (M1, M2, etc), the Jetbrains Runtime on 202 didn't have an aarch64 variant. Which causes some problems during the build.
The first ARM based support landed in 2020.3 I think. Additionally to helping regarding the build, /bumping the base version could help supporting this plugin by giving access to new APIs.