Question about the IntelliJ Platform Gradle Plugin 2.0.0
Hello.
I want to creat a plugin for the version 2024.2.1 of IntelliJ IDEA.
When I follow the normal procedure and launch the runIde task, I have the message :
---------------------------------------------------------------------------------------------------------
Gradle IntelliJ Plugin 1.x does not support building plugins against the IntelliJ Platform 2024.2+ (242+).
Please upgrade your configuration to use the IntelliJ Platform Gradle Plugin 2.0.0 or higher!
See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
---------------------------------------------------------------------------------------------------------
At the moment, I need help because I don't know what to do. Even after reading the page.
Best regards.
Please sign in to leave a comment.
Hi Eliot,
This is correct, you have to migrate your plugin to IntelliJ Platform Gradle Plugin if you want to target 2024.2+.
Did you try it? What is your exact problem?
This page can be helpful: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-migration.html
Hi Karol.
Thanks for this page. Apparently, my problem was solved without doing anything in particular.
A supplementary question. Is my cofiguration file correct ?
---
plugins {
id("java")
id("org.jetbrains.intellij.platform") version "2.0.1"
}
group = "my.tools"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
intellijPlatform {
intellijIdeaUltimate("2024.2.1")
instrumentationTools()
}
}
---
Best regards.
Hi Eliot,
I don't see any issues with this config.