Jakub Chrzanowski
02/21/2024, 9:59 AMbuild.gradle.kts
file, and follow the Migration Guide.
Docs: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
Cheers!
Jakub, Developer Advocate for IntelliJ Platform SDK @ JetBrainsFlorian Dreier
02/21/2024, 2:30 PMPlugin [id: 'org.jetbrains.intellij.platform', version: '2.0.0-SNAPSHOT'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.intellij.platform:org.jetbrains.intellij.platform.gradle.plugin:2.0.0-SNAPSHOT')
Searched in the following repositories:
maven(<https://oss.sonatype.org/content/repositories/snapshots/>)
maven2(https://<company-internal maven repo>)
Gradle Central Plugin Repository
Any idea what I’m missing?Jakub Chrzanowski
02/21/2024, 2:53 PMsettings.gradle.kts
should be enough
pluginManagement {
repositories {
maven("<https://oss.sonatype.org/content/repositories/snapshots/>")
gradlePluginPortal()
}
}
to use EAP release in build.gradle.kts
plugins {
id("org.jetbrains.intellij.platform") version "2.0.0-SNAPSHOT"
}
Florian Dreier
02/21/2024, 3:02 PM./gradlew help --refresh-dependencies
now, but same result. But I also don’t seem to be able to access the SNAPSHOT manually via https://oss.sonatype.org/content/repositories/snapshots/org/jetbrains/intellij/platfo[…]jetbrains.intellij.platform.gradle.plugin-2.0.0-SNAPSHOT.pomJakub Chrzanowski
02/21/2024, 3:11 PMFlorian Dreier
02/21/2024, 3:12 PMDavid Herman
02/21/2024, 11:00 PMpatchPluginXml/plugin.xml
, it's not found. I'll attach /tmp/ijresolvers1.gradle
to this comment, but the line complaining is for (arg in task.getAllJvmArgs() + task.getJvmArgs())
I'd like to compare what I'm doing with a real project. (I moved some values out of plugin.xml and patchPlugin and put them into the new intellijPlatform
block for example).
I'll keep poking around and will paste any significant updates if things change.David Herman
02/21/2024, 11:05 PMDavid Herman
02/21/2024, 11:41 PMCannot access 'com.intellij.psi.PsiModifiableCodeBlock' which is a supertype of 'org.jetbrains.kotlin.psi.KtProperty'. Check your module classpath for missing or conflicting dependencies
for example.
I don't mean to turn this thread into a bug report though. I think what I really want here is a sample project to clone and compare with.
If the team wants more details about my own project (which is running into these issues), please have someone send me a DM. Thanks!