Skip to content

Commit 98e9e9c

Browse files
committed
feat: support 2023.1 EAP, drop support for 2021.x
1 parent 96998fa commit 98e9e9c

File tree

4 files changed

+17
-23
lines changed

4 files changed

+17
-23
lines changed

CHANGELOG.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@
33
# IntelliJ CUE Language Support Changelog
44

55
## [Unreleased]
6-
### Added
7-
86
### Changed
9-
10-
### Fixed
7+
- Support 2023.1 EAP
8+
- Drop support for 2021.1, 2021.2 and 2021.3
119

1210
## [0.8.5]
13-
### Added
14-
15-
### Changed
16-
1711
### Fixed
12+
- Support syntax of alias expressions
1813

1914
## [0.8.5]
2015
### Fixed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ tasks { // disable building searchable options to speed up build, we currently d
6565
enabled = false
6666
}
6767

68-
// Set the compatibility versions to 11
6968
withType<JavaCompile> {
70-
sourceCompatibility = "11"
71-
targetCompatibility = "11"
69+
val jdkVersion = if (platformVersion.startsWith("231.") || platformVersion.startsWith("2023.1")) "17" else "11"
70+
sourceCompatibility = jdkVersion
71+
targetCompatibility = jdkVersion
7272
}
7373

7474
patchPluginXml {

gradle.properties

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33

44
pluginGroup = dev.monogon.cuelang
55
pluginName_ = intellij-cue
6-
pluginVersion = 0.8.5
7-
pluginSinceBuild = 203
8-
pluginUntilBuild = 223.*
6+
pluginVersion = 0.8.6
7+
pluginSinceBuild = 221
8+
pluginUntilBuild = 251.*
99
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
1010
# See https://jb.gg/intellij-platform-builds-list for available build versions
11-
pluginVerifierIdeVersions = 2020.3.2,2021.1.3,2021.2,2021.3,2022.1
11+
pluginVerifierIdeVersions = 2022.1,2022.3
1212

1313
platformType = IC
14-
platformVersion = 2020.3.2
15-
#platformVersion = 2021.1.3
16-
#platformVersion = 2021.2
17-
#platformVersion = 2021.3
18-
#platformVersion = 2022.1
14+
platformVersion = 2022.1
15+
#platformVersion = 2022.2
16+
#platformVersion = 2022.3
17+
#platformVersion = 231.7665.28-EAP-SNAPSHOT
1918
platformDownloadSources = true
19+
2020
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
2121
platformPlugins = org.intellij.intelliLang

src/test/java/dev/monogon/cue/CueTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import com.intellij.openapi.util.io.FileUtilRt;
44
import org.jetbrains.annotations.NotNull;
55

6-
import javax.annotation.Nonnull;
76
import java.io.IOException;
87
import java.net.URISyntaxException;
98
import java.nio.file.FileVisitOption;
@@ -20,7 +19,7 @@ public class CueTests {
2019
private CueTests() {
2120
}
2221

23-
public static String findTestData(@Nonnull String first, String... more) {
22+
public static String findTestData(@NotNull String first, String... more) {
2423
return findTestDataPath(first, more).toString();
2524
}
2625

@@ -54,7 +53,7 @@ public static Path findTestDataRoot() {
5453
* @return The path to the test resource at the given path.
5554
*/
5655
@NotNull
57-
public static Path findTestDataPath(@Nonnull String first, String... more) {
56+
public static Path findTestDataPath(@NotNull String first, String... more) {
5857
return findTestDataRoot().resolve(Paths.get(first, more));
5958
}
6059

0 commit comments

Comments
 (0)