Skip to content

Commit efa0624

Browse files
authored
Compatibility with 2021.3 (#50)
* chore: update to latest versions of gradle wrapper and gradle * chore: update build setup, update to 2021.3 * Fix unstable tests with 2021.3 * chore: update changelog and description
1 parent bf9cc0f commit efa0624

19 files changed

+331
-248
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
### Changed
99

1010
### Fixed
11+
## [0.8.2]
12+
### Fixed
13+
- Compatibility with 2021.3
14+
1115
## [0.8.2]
1216
### Fixed
1317
- Compatibility with 2021.2

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
## Usage
66

7-
The CUE plugin is compatible with **any JetBrains IDE 2020.3**. Only IntelliJ-based IDEs are supported, i.e. it's incompatible with ReSharper.
7+
The CUE plugin is compatible with **any JetBrains IDE 2020.3** or later.
8+
Only IntelliJ-based IDEs are supported, i.e. it's incompatible with ReSharper.
89

910
### Features
1011

@@ -42,7 +43,7 @@ Development is best in IntelliJ IDEA.
4243

4344
The following plugins are required for development:
4445

45-
- [GrammarKit 2021.1.1](https://plugins.jetbrains.com/plugin/6606-grammar-kit)
46+
- [GrammarKit 2021.1.2](https://plugins.jetbrains.com/plugin/6606-grammar-kit)
4647
- Gradle
4748
- Kotlin, for Gradle build file support
4849

build.gradle.kts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ plugins {
66
id("java")
77

88
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
9-
id("org.jetbrains.intellij") version "1.1.4"
9+
id("org.jetbrains.intellij") version "1.3.0"
1010

1111
// gradle-changelog-plugin - read more: https://github.com/JetBrains/gradle-changelog-plugin
12-
id("org.jetbrains.changelog") version "1.2.1"
12+
id("org.jetbrains.changelog") version "1.3.1"
1313

14-
id("org.jetbrains.grammarkit") version "2021.1.3"
14+
// gradle-grammarkit-plugin - read more: https://github.com/JetBrains/gradle-grammar-kit-plugin
15+
id("org.jetbrains.grammarkit") version "2021.2.1"
1516
}
1617

1718
// Import variables from gradle.properties file
@@ -102,11 +103,11 @@ tasks { // disable building searchable options to speed up build, we currently d
102103
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
103104
channels.set(pluginVersion.split('-').getOrElse(1) { "default" }.split('.').take(1))
104105
}
105-
}
106106

107-
tasks.register<org.jetbrains.grammarkit.tasks.GenerateLexer>("generateLexer") {
108-
source = "src/grammar/cue.flex"
109-
targetDir = "src/main/java-gen/dev/monogon/cue/lang/lexer"
110-
targetClass = "_CueLexerGen"
111-
purgeOldFiles = true
112-
}
107+
generateLexer {
108+
source.set("src/grammar/cue.flex")
109+
targetDir.set("src/main/java-gen/dev/monogon/cue/lang/lexer")
110+
targetClass.set("_CueLexerGen")
111+
purgeOldFiles.set(true)
112+
}
113+
}

gradle.properties

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33

44
pluginGroup = dev.monogon.cuelang
55
pluginName_ = intellij-cue
6-
pluginVersion = 0.8.2
6+
pluginVersion = 0.8.3
77
pluginSinceBuild = 203
8-
pluginUntilBuild = 212.*
8+
pluginUntilBuild = 213.*
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
11+
pluginVerifierIdeVersions = 2020.3.2,2021.1.3,2021.2,2021.3
1212

1313
platformType = IC
1414
platformVersion = 2020.3.2
1515
#platformVersion = 2021.1.3
1616
#platformVersion = 2021.2
17+
#platformVersion = 2021.3
1718
platformDownloadSources = true
1819
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1920
platformPlugins = org.intellij.intelliLang

gradle/wrapper/gradle-wrapper.jar

333 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)