From 86102d5c7b4b9903a67e6b93134b3849ae7a6350 Mon Sep 17 00:00:00 2001 From: Marconi Lanna Date: Tue, 15 Mar 2016 10:12:48 -0400 Subject: [PATCH] Update ANTLR4 to 4.5.2-1 --- README.md | 4 ++-- build.sbt | 2 +- src/main/scala/com/simplytyped/Antlr4Plugin.scala | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5b3a064..c9208e8 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ file with the following contents: resolvers += "simplytyped" at "http://simplytyped.github.io/repo/releases" - addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.9") + addSbtPlugin("com.simplytyped" % "sbt-antlr4" % "0.7.10") And, add `antlr4Settings` to your `build.sbt` file. @@ -29,7 +29,7 @@ You can also adjust `-listener`, `-no-listener`, `-visitor`, `-no-visitor` optio ## Version History - - `0.7.9`: Antlr 4.5.2 (@marconilanna) + - `0.7.10`: Antlr 4.5.2-1 (@marconilanna) - `0.7.8`: Appends 'antlr4' to the javaSource directory for generated Java code (@allertonm) diff --git a/build.sbt b/build.sbt index 3d2689e..5cc1131 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,7 @@ name := "sbt-antlr4" organization := "com.simplytyped" -version := "0.7.9" +version := "0.7.10" publishTo := Some { val target = if(version.value contains "SNAPSHOT") "snapshots" else "releases" diff --git a/src/main/scala/com/simplytyped/Antlr4Plugin.scala b/src/main/scala/com/simplytyped/Antlr4Plugin.scala index a7dd2dd..02c65c2 100644 --- a/src/main/scala/com/simplytyped/Antlr4Plugin.scala +++ b/src/main/scala/com/simplytyped/Antlr4Plugin.scala @@ -56,7 +56,7 @@ object Antlr4Plugin extends Plugin { sourceDirectory <<= (sourceDirectory in Compile) {_ / "antlr4"}, javaSource <<= (sourceManaged in Compile).apply(_ / "antlr4"), managedClasspath <<= (configuration, classpathTypes, update) map Classpaths.managedJars, - antlr4Version := "4.5.2", + antlr4Version := "4.5.2-1", antlr4Generate <<= antlr4GeneratorTask, antlr4Dependency := "org.antlr" % "antlr4" % antlr4Version.value, antlr4RuntimeDependency := "org.antlr" % "antlr4-runtime" % antlr4Version.value,