Skip to content

Commit

Permalink
Support building against EAP snapshots after migrating to org.jetbrai…
Browse files Browse the repository at this point in the history
…ns.intellij.platform 2.0.0.
  • Loading branch information
rhdunn committed Nov 19, 2024
1 parent 023c72b commit 7b2404c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import io.github.rhdunn.intellij.IntelliJSnapshot
import org.jetbrains.intellij.platform.gradle.TestFrameworkType

buildscript {
Expand Down Expand Up @@ -51,6 +52,7 @@ configure(allprojects - project(':src')) {
mavenLocal()
intellijPlatform {
defaultRepositories()
jetbrainsRuntime()
}
maven { url = 'https://packages.jetbrains.team/maven/p/grazi/grazie-platform-public' } // grazie
maven { url = 'https://download.jetbrains.com/teamcity-repository' } // teamcity
Expand All @@ -72,7 +74,12 @@ configure(allprojects - project(':src')) {

dependencies {
intellijPlatform {
create(idea_type, idea_version)
if (ijVersion instanceof IntelliJSnapshot) {
create(idea_type, ijVersion.value, false)
jetbrainsRuntime()
} else {
create(idea_type, idea_version, true)
}

instrumentationTools()

Expand Down

0 comments on commit 7b2404c

Please sign in to comment.