Hi everyone, I decided to work on several Up-For-...
# kontributors
d
Hi everyone, I decided to work on several Up-For-Grabs tasks from the kotlin idea plugin tracker. I realised that they require changes in both idea-plugin and kotlin repositories. Could anyone please explain how I can use artefacts from my local kotlin branch in the plugin? I have built libs from
prepare/ide-plugin-dependencies/
folder but I don't know how to use them in the plugin. I tried
publish
and
publishToMavenLocal
tasks, but it seems that they don't publish
kotlin-*-for-ide
jars to the repo. I also found
plugins/kotlin/util/project-model-updater
script which updates the plugin dependencies but it still need them to published. Thank you
d
Hey • clone intellij repo into
/path/to/kotlin/intellij
and checkout branch
kt-master
in it • run following gradle task to publish compiler classes as IDE dependencies
Copy code
./gradlew publishIdeArtifacts :prepare:ide-plugin-dependencies:kotlin-dist-for-ide:publish -Ppublish.ide.plugin.dependencies=true -PdeployVersion=1.9.255 -Pbuild.number=1.9.255
• open intellij repo in IDE
Note that if you change something in both repos at the same time then you need to create MR in intellij repo to
kt-master
branch, not
master
Also you can use
Kotlin Coop: Publish compiler-for-ide JARs
run configuration in
intellij
repo instead of manual running gradle
d
It helped. I didn't know about
kt-master
branch. Thank you!