-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not resolve JBR for 222-EAP-SNAPSHOT #997
Comments
This is not a valid JBR version which is probably explicitly set in your configuration. |
build.gradle import java.time.LocalDate
plugins {
id("org.jetbrains.intellij") version "1.5.3"
id("org.jetbrains.kotlin.jvm") version "1.6.10"
id("org.jetbrains.changelog") version "1.3.1"
id("net.researchgate.release") version "2.8.1"
}
repositories {
mavenCentral()
}
intellij {
version.set("IU-222-EAP-SNAPSHOT")
plugins.set(listOf("java", "JavaScriptLanguage", "properties", "maven", "com.google.bamboo.id:1.6.3-203"))
}
changelog {
header.set(provider { "[${project.version}] - ${LocalDate.now()}" })
groups.set(emptyList())
}
release {
failOnPublishNeeded = false
ignoredSnapshotDependencies = listOf("com.jetbrains:ideaIU")
preTagCommitMessage = "[gradle release plugin] [skip ci] prepare release"
tagCommitMessage = "[gradle release plugin] [skip ci] release"
newVersionCommitMessage = "[gradle release plugin] [skip ci] prepare for next development iteration"
buildTasks = listOf("buildPlugin")
}
val KOTLIN_JVM_TARGET = "11"
val KOTLIN_API_VERSION = "1.4"
tasks {
updateVersion {
dependsOn("patchChangelog")
}
afterReleaseBuild {
dependsOn("publishPlugin")
}
patchPluginXml {
sinceBuild.set("212")
changeNotes.set(provider {
val changes = changelog.getOrNull("${project.version}") ?: changelog.getLatest()
changes.toHTML()
})
}
publishPlugin {
token.set(System.getenv("INTELLIJ_PUBLISH_TOKEN"))
channels.set(listOf("stiltsoft"))
}
buildSearchableOptions {
enabled = false
}
runPluginVerifier {
ideVersions.set(listOf("IU-2021.2", "IU-2021.3", "IU-2022.1"))
}
compileKotlin {
kotlinOptions {
jvmTarget = KOTLIN_JVM_TARGET
apiVersion = KOTLIN_API_VERSION
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = KOTLIN_JVM_TARGET
apiVersion = KOTLIN_API_VERSION
}
}
}
dependencies {
implementation("io.sentry:sentry:5.5.1")
} |
This is because of however all latest I guess this is a development blocker since i didn't find any workaround right now to update plugins for 2022.2 revision. I hope for a quick feedback from |
It looks like something is wrong with the
instead of something like However, the issue for MacOSX with JBR released as a |
I would be grateful. Can we expect 1.6.0 this week ? |
@up-to-you Considering the fact we have Friday evening already, it is hard to promise that. 🤷♂️ |
FYI https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-17.0.3-osx-aarch64-b423.10.tar.gz (.tar.gz) is still valid, so it's not a problem. IntelliJ Platform will continue to download .tar.gz version. |
Hi, folks! Could you please verify if everything’s fine with the 1.6.0-SNAPSHOT release? |
I upgraded from 1.5.3 to 1.6.0-SNAPSHOT and it now downloads the JBR for IC-222.2270.31-EAP-SNAPSHOT. One difference I noticed: I needed to specify As IntelliJ ships with the JCEF build by default, I wonder if downloading the JCEF variant should also be the default here. |
@ahus1 You're totally right, thanks for pointing it out. This is valid for JBR based on Java 11, where builds are way higher. I'll add a proper condition to distinguish between Java 11 and 17. |
@ahus1 Could you please verify it once again? I've updated the |
Yep, the issue solved (tested with
|
@up-to-you Ok, from the code perspective, everything's fine as the
And that should lead to https://cache-redirector.jetbrains.com/intellij-jbr/jbr_nomod-17.0.3-osx-x64-b423.10.tar.gz However, |
|
org.jetbrains.intellij
version1.5.3
gradle
version7.4.2
The text was updated successfully, but these errors were encountered: