fix: TC-2796 add more standard configuration names to lexer and grammar of build.gradle #206
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



fix: TC-2796 add more standard configuration names to lexer and grammar of build.gradle
issue: https://issues.redhat.com/browse/TC-2796
QE found an issue that test dependency declaration in build.gradle cannot be properly parsed i.e,:
From intelliJ, it shows errors like:
<artifact>, <comment>, BuildGradleTokenType.", BuildGradleTokenType.', BuildGradleTokenType.,, BuildGradleTokenType.APPLICATION, BuildGradleTokenType.CRLF, BuildGradleTokenType.EXT, BuildGradleTokenType.GROUP_ID, BuildGradleTokenType.GROUP_KEY, BuildGradleTokenType.ID_PREFIX, BuildGradleTokenType.INTELLIJ, BuildGradleTokenType.JAVAFX, BuildGradleTokenType.JLINKZIP, BuildGradleTokenType.JLINK_COMPONENT, BuildGradleTokenType.JLINK_START, BuildGradleTokenType.PLUGINS, BuildGradleTokenType.RCURBRACE, BuildGradleTokenType.ROOT_GENERIC_KEY, BuildGradleTokenType.ROOT_GROUP_KEY, BuildGradleTokenType.ROOT_VERSION_KEY, BuildGradleTokenType.RUNIDE, BuildGradleTokenType.SPACE_CHARACTER, BuildGradleTokenType.TASKS, BuildGradleTokenType.dependencies, BuildGradleTokenType.java, BuildGradleTokenType.main, BuildGradleTokenType.repositories, BuildGradleTokenType.sourceSets, BuildGradleTokenType.test or BuildGradleTokenType.{ expected, got 'testImplementation "...'Since the plugin defines its own file type rhda-build-gradle for build.gradle , I checked CONFIG_NAME in buildGradle.bnf and CONFIG_NAME in buildGradle.flex , those test* configuration names are not accepted.