1
1
plugins {
2
- id ' org.jetbrains.grammarkit' version ' 2021.1.3 '
3
- id ' org.jetbrains.intellij' version ' 1.3.0 '
2
+ id ' org.jetbrains.grammarkit' version ' 2021.2.1 '
3
+ id ' org.jetbrains.intellij' version ' 1.3.1 '
4
4
id ' com.github.ManifestClasspath' version ' 0.1.0-RELEASE'
5
5
id ' org.jetbrains.changelog' version ' 1.3.1'
6
6
}
@@ -54,7 +54,7 @@ intellij {
54
54
}
55
55
56
56
runPluginVerifier {
57
- ideVersions = [' IU-2020.3.1' , ' IU-2021.1' , ' IU-2021.2' , ' IU-2021.3' ]
57
+ ideVersions = [' IU-2020.3.1' , ' IU-2021.1' , ' IU-2021.2' , ' IU-2021.3' , ' IU-2022.1 ' ]
58
58
}
59
59
60
60
runIde {
@@ -71,47 +71,47 @@ sourceSets {
71
71
72
72
}
73
73
74
- // import is optional to make task creation easier
75
-
76
- import org.jetbrains.grammarkit.tasks.GenerateLexer
77
- import org.jetbrains.grammarkit.tasks.GenerateParser
78
-
79
- // GraphQL parser should be generated manually when needed
80
- // because of some limitations of the gradle-grammar-kit-plugin
81
-
82
- // GraphQL Endpoint Parser and Lexer
83
- task generateGraphQLEndpointLexer (type : GenerateLexer ) {
84
- source ' src/grammars/JSGraphQLEndpointLexer.flex'
85
- targetDir ' gen/com/intellij/lang/jsgraphql/endpoint/lexer/'
86
- targetClass ' JSGraphQLEndpointLexer'
87
- purgeOldFiles = true
88
- }
89
-
90
- task generateGraphQLEndpointParser (type : GenerateParser ) {
91
- source ' src/grammars/JSGraphQLEndpointParser.bnf'
92
- targetRoot = ' gen/'
93
- purgeOldFiles = true
94
- pathToParser = ' com/intellij/lang/jsgraphql/endpoint/parser/JSGraphQLEndpointParser'
95
- pathToPsiRoot = ' com/intellij/lang/jsgraphql/endpoint/psi'
96
- }
97
-
98
-
99
- // GraphQL Endpoint Doc Parser and Lexer
100
- task generateGraphQLEndpointDocLexer (type : GenerateLexer ) {
101
- source ' src/grammars/JSGraphQLEndpointDocLexer.flex'
102
- targetDir ' gen/com/intellij/lang/jsgraphql/endpoint/doc/lexer/'
103
- targetClass ' JSGraphQLEndpointDocLexer'
104
- purgeOldFiles = true
105
- }
106
-
107
- task generateGraphQLEndpointDocParser (type : GenerateParser ) {
108
- source ' src/grammars/JSGraphQLEndpointDocParser.bnf'
109
- targetRoot = ' gen/'
110
- purgeOldFiles = true
111
- pathToParser = ' com/intellij/lang/jsgraphql/endpoint/doc/JSGraphQLEndpointDocParser'
112
- pathToPsiRoot = ' com/intellij/lang/jsgraphql/endpoint/doc/psi'
113
- }
114
-
74
+ // // import is optional to make task creation easier
75
+ //
76
+ // import org.jetbrains.grammarkit.tasks.GenerateLexer
77
+ // import org.jetbrains.grammarkit.tasks.GenerateParser
78
+ //
79
+ // // GraphQL parser should be generated manually when needed
80
+ // // because of some limitations of the gradle-grammar-kit-plugin
81
+ //
82
+ // // GraphQL Endpoint Parser and Lexer
83
+ // task generateGraphQLEndpointLexer(type: GenerateLexer) {
84
+ // source 'src/grammars/JSGraphQLEndpointLexer.flex'
85
+ // targetDir 'gen/com/intellij/lang/jsgraphql/endpoint/lexer/'
86
+ // targetClass 'JSGraphQLEndpointLexer'
87
+ // purgeOldFiles = true
88
+ // }
89
+ //
90
+ // task generateGraphQLEndpointParser(type: GenerateParser) {
91
+ // source 'src/grammars/JSGraphQLEndpointParser.bnf'
92
+ // targetRoot = 'gen/'
93
+ // purgeOldFiles = true
94
+ // pathToParser = 'com/intellij/lang/jsgraphql/endpoint/parser/JSGraphQLEndpointParser'
95
+ // pathToPsiRoot = 'com/intellij/lang/jsgraphql/endpoint/psi'
96
+ // }
97
+ //
98
+ //
99
+ // // GraphQL Endpoint Doc Parser and Lexer
100
+ // task generateGraphQLEndpointDocLexer(type: GenerateLexer) {
101
+ // source 'src/grammars/JSGraphQLEndpointDocLexer.flex'
102
+ // targetDir 'gen/com/intellij/lang/jsgraphql/endpoint/doc/lexer/'
103
+ // targetClass 'JSGraphQLEndpointDocLexer'
104
+ // purgeOldFiles = true
105
+ // }
106
+ //
107
+ // task generateGraphQLEndpointDocParser(type: GenerateParser) {
108
+ // source 'src/grammars/JSGraphQLEndpointDocParser.bnf'
109
+ // targetRoot = 'gen/'
110
+ // purgeOldFiles = true
111
+ // pathToParser = 'com/intellij/lang/jsgraphql/endpoint/doc/JSGraphQLEndpointDocParser'
112
+ // pathToPsiRoot = 'com/intellij/lang/jsgraphql/endpoint/doc/psi'
113
+ // }
114
+ //
115
115
// compileJava {
116
116
// dependsOn generateGraphQLEndpointLexer
117
117
// dependsOn generateGraphQLEndpointParser
0 commit comments