소스 검색

Merge pull request #58 from windchargerj/bugFix

Fix the toolkit version detection issue
ruki 11 달 전
부모
커밋
cd62c78c92
2개의 변경된 파일4개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 3
      build.gradle.kts
  2. 4 3
      src/main/kotlin/io/xmake/utils/execute/Instruction.kt

+ 0 - 3
build.gradle.kts

@@ -103,9 +103,6 @@ tasks {
     runPluginVerifier {
         ideVersions.set(
             listOf(
-                "2022.3",
-                "2023.1",
-                "2023.2",
                 "2023.3",
                 "2024.1",
                 "2024.2"

+ 4 - 3
src/main/kotlin/io/xmake/utils/execute/Instruction.kt

@@ -28,9 +28,10 @@ val probeXmakeLocCommand = GeneralCommandLine("which")
     )
     .withCharset(Charsets.UTF_8)
 
-val probeXmakeVersionCommand = GeneralCommandLine()
-    .withParameters("--version")
-    .withCharset(Charsets.UTF_8)
+val probeXmakeVersionCommand
+    get() = GeneralCommandLine()
+        .withParameters("--version")
+        .withCharset(Charsets.UTF_8)
 
 val probeXmakeTargetCommand = GeneralCommandLine()
     .withParameters("l")