diff --git a/build.gradle.kts b/build.gradle.kts index 64a97376a..d61abcdaf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -38,6 +38,7 @@ val ideaVersion: String by project val downloadIdeaSources: String by project val instrumentPluginCode: String by project val remoteRobotVersion: String by project +val antlrVersion: String by project val publishChannels: String by project val publishToken: String by project @@ -66,8 +67,8 @@ dependencies { testImplementation("com.intellij.remoterobot:remote-robot:$remoteRobotVersion") testImplementation("com.intellij.remoterobot:remote-fixtures:$remoteRobotVersion") testImplementation("com.automation-remarks:video-recorder-junit:2.0") - runtimeOnly("org.antlr:antlr4-runtime:4.10.1") - antlr("org.antlr:antlr4:4.9.3") + runtimeOnly("org.antlr:antlr4-runtime:$antlrVersion") + antlr("org.antlr:antlr4:$antlrVersion") implementation(project(":vim-engine")) } diff --git a/gradle.properties b/gradle.properties index 2fc19187d..f52a5a77d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,6 +6,7 @@ instrumentPluginCode=true version=SNAPSHOT javaVersion=11 remoteRobotVersion=0.11.10 +antlrVersion=4.10.1 # Please don't forget to update kotlin version in buildscript section kotlinVersion=1.5.10