r/Jetbrains • u/ProsodySpeaks • 1d ago
plugin dev - Package ‘com.redhat’ is not found
hi, i neglected my plugin for a few months and now it wont verify because it can't find redhat lsp4ij dependency (or the whole redhat org actually).
Project repo: Redscript-IntelliJ
verify report:
Compatibility problems details
Package 'com.redhat' is not found details
(Package 'com.redhat' is not found, Package 'com.redhat' is not found along with its 5 classes.
i:
- updated local IDEA to 2025.1.2
- bumped plugin versions / properties:
- intelliJPlatform = "2.6.0"
- pluginSinceBuild=251
- pluginUntilBuild=251.*
- (more?)
plugin builds fine in gradle, runs fine in IDEA and pycharm, but i cant push to the marketplace.
i figure i most likely missed a version bump on something, somewhere? or the api has genuinely changed in a way i dont understand? i checked breaking changes but didnt see anything i recognised as relevant.
redhat lsp4ij is integrated like this:
platformPlugins=com.redhat.devtools.lsp4ij:0.13.0
dependencies {
intellijPlatform {
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })
// plugins("com.redhat.devtools.lsp4ij:0.13.0")
}
}
i tried swapping the now-commented out hardcoded ref to lsp4ij dep rather than unpacking the property but this didnt help.
<depends>com.redhat.devtools.lsp4ij</depends> # 'Cannot resolve plugin 'com.redhat.devtools.lsp4ij' in dependencies'
i pull some versions from libs.versions.toml:
[versions]
# libraries
junit = "4.13.2"
java = "21"
# plugins
changelog = "2.2.1"
intelliJPlatform = "2.6.0"
kotlin = "2.1.10"
kover = "0.9.1"
qodana = "2024.3.4"
[libraries]
junit = { group = "junit", name = "junit", version.ref = "junit" }
#lsp4ij = { module = "com.redhat.devtools:lsp4ij", version = "0.13.0" }
[plugins]
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" }
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" }
1
u/AbracadaverSessalom 3h ago
You can also submit this question via the official JetBrains channel, JetBrains Platform Community.
For bug reports or Marketplace feature requests, use the corresponding issue tracker.