Skip to content

Commit

Permalink
chore: fix compilation with latest 2025.1 eap
Browse files Browse the repository at this point in the history
  • Loading branch information
jansorg committed Feb 24, 2025
1 parent 48407eb commit 4254c00
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ buildscript {
plugins {
idea
id("org.jetbrains.kotlin.jvm")
id("org.jetbrains.intellij.platform") version "2.2.1"
id("org.jetbrains.intellij.platform") version "2.2.2-SNAPSHOT"
id("org.jetbrains.changelog") version "1.3.1"
id("com.adarshr.test-logger") version "3.2.0"
id("de.undercouch.download") version "5.6.0"
Expand All @@ -44,12 +44,7 @@ val ideVersion = prop("ideVersion")
group = "appland.appmap"
version = pluginVersionString

val platformVersion = when {
// e.g. '2024.1'
ideVersion.length == 6 -> ideVersion.replace(".", "").substring(2).toInt()
// e.g. '243.16718.32'
else -> ideVersion.substringBefore(".").toInt()
}
val platformVersion = prop("platformVersion").toInt()

val isCI = System.getenv("CI") == "true"
val agentOutputPath = rootProject.layout.buildDirectory.asFile.get()
Expand Down

0 comments on commit 4254c00

Please sign in to comment.