diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 454b769c5..281ebdfd8 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - gradle-properties-version: [ 231, 232, 233 ] + gradle-properties-version: [ 232, 233 ] runs-on: ${{ matrix.os }} env: @@ -27,7 +27,7 @@ jobs: java-version: 17 - name: Setup Gradle and dependencies - uses: gradle/gradle-build-action@v2.7.0 + uses: gradle/actions/setup-gradle@v3.1.0 with: gradle-version: wrapper cache-read-only: false diff --git a/gradle-231.properties b/gradle-231.properties deleted file mode 100644 index 6648da29d..000000000 --- a/gradle-231.properties +++ /dev/null @@ -1,13 +0,0 @@ -# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html -# for insight into build numbers and IntelliJ Platform versions. -pluginSinceBuild = 231 -pluginUntilBuild = 231.* - -# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties -platformType = PC -platformVersion = 2023.1 - -# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html -# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22 -platformPlugins = org.toml.lang -verifierIdeVersions = PC-2023.1 diff --git a/src/main/kotlin/org/move/cli/manifest/AptosConfigYaml.kt b/src/main/kotlin/org/move/cli/manifest/AptosConfigYaml.kt index 6e2bb77a1..eb08da40b 100644 --- a/src/main/kotlin/org/move/cli/manifest/AptosConfigYaml.kt +++ b/src/main/kotlin/org/move/cli/manifest/AptosConfigYaml.kt @@ -1,6 +1,6 @@ package org.move.cli.manifest -import com.intellij.util.io.readText +import kotlin.io.path.readText import org.yaml.snakeyaml.Yaml import org.yaml.snakeyaml.error.YAMLException import java.nio.file.Path diff --git a/src/main/kotlin/org/move/stdext/Paths.kt b/src/main/kotlin/org/move/stdext/Paths.kt index 271e5fb7d..f03ba85d6 100644 --- a/src/main/kotlin/org/move/stdext/Paths.kt +++ b/src/main/kotlin/org/move/stdext/Paths.kt @@ -2,7 +2,7 @@ package org.move.stdext import com.intellij.openapi.diagnostic.Logger import com.intellij.openapi.util.SystemInfo -import com.intellij.util.io.isDirectory +import kotlin.io.path.isDirectory import java.nio.file.Files import java.nio.file.InvalidPathException import java.nio.file.Path