Skip to content

Commit

Permalink
Merge pull request JetBrains#18 from Undin/fix-NCDFE-with-CLion
Browse files Browse the repository at this point in the history
Fix parser generation with CLion distribution
  • Loading branch information
Alexandr Evstigneev authored Apr 18, 2019
2 parents 7171ba1 + cb514d2 commit b6128a3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ class GenerateParser extends BaseTask {

def requiredLibs = [
"jdom", "trove4j", "junit", "guava", "asm-all", "automaton", "platform-api", "platform-impl",
"util", "annotations", "picocontainer", "extensions", "idea", "openapi", "Grammar-Kit"
"util", "annotations", "picocontainer", "extensions", "idea", "openapi", "Grammar-Kit",
// CLion unlike IDEA contains `MockProjectEx` in `testFramework.jar` instead of `idea.jar`
// so this jar should be in `requiredLibs` list to avoid `NoClassDefFoundError` exception
// while parser generation with CLion distribution
"testFramework"
]

classpath project.configurations.compileOnly.files.findAll({
Expand Down

0 comments on commit b6128a3

Please sign in to comment.