diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index e3c83c6e12e..68b182cd7f5 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -59,7 +59,12 @@ val intellijUltimateEnabled by extra(project.getBooleanProperty("intellijUltimat val intellijSeparateSdks by extra(project.getBooleanProperty("intellijSeparateSdks") ?: false) extra["intellijRepo"] = "https://www.jetbrains.com/intellij-repository" -extra["intellijReleaseType"] = "releases" // or "snapshots" + +extra["intellijReleaseType"] = if (extra["versions.intellijSdk"]?.toString()?.endsWith("SNAPSHOT") == true) + "snapshots" +else + "releases" + extra["versions.androidDxSources"] = "5.0.0_r2" extra["customDepsOrg"] = "kotlin.build.custom.deps"