Skip to content

Commit 2d4d905

Browse files
committed
add comment about version comparison
1 parent 91c0970 commit 2d4d905

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def versionToUse = System.getenv().getOrDefault( 'IDEA_VERSION', ideaVersion )
9696
def useIdeaInstaller = !versionToUse.containsIgnoreCase( "EAP" )
9797
dependencies {
9898
intellijPlatform {
99+
// When versionToUse is 2025.3 or later then there is only a single distribution of IntelliJ
100+
// This comparison can be removed if the oldest supported version of idea is 2025.3 (253) or later
99101
if (('2025.3' <=> versionToUse) <= 0 ){
100102
intellijIdea(versionToUse) {
101103
useInstaller = useIdeaInstaller

0 commit comments

Comments
 (0)