From 395cbfa50cc97a34cfc24dfbcfa65dda2ac351dc Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 2 Apr 2017 04:09:24 -0400 Subject: minor cleanup: group and sort alphabetically --- stage2/libraries.scala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'stage2/libraries.scala') diff --git a/stage2/libraries.scala b/stage2/libraries.scala index 3c4800d..eb7de13 100644 --- a/stage2/libraries.scala +++ b/stage2/libraries.scala @@ -15,8 +15,8 @@ class libraries( context: Context, scalaVersion: String, scalaMajorVersion: Stri def file = dep( "file" ) def interfaces = dep( "interfaces" ) def proguard = dep( "proguard" ) - def reflect = dep( "reflect" ) def scalatestRunner = dep( "scalatest-runner" ) + def reflect = dep( "reflect" ) } object scala { private def _maven = ( g: String, a: String, v: String ) => { @@ -27,10 +27,11 @@ class libraries( context: Context, scalaVersion: String, scalaMajorVersion: Stri ) bindOne MavenDependency( g, a, v ) } + def compiler = _maven( "org.scala-lang", "scala-compiler", scalaVersion ) def library = _maven( "org.scala-lang", "scala-library", scalaVersion ) def reflect = _maven( "org.scala-lang", "scala-reflect", scalaVersion ) - def compiler = _maven( "org.scala-lang", "scala-compiler", scalaVersion ) - def xml = _maven( "org.scala-lang.modules", "scala-xml_" ++ scalaMajorVersion, "1.0.6" ) + def parserCombinators = _maven( "org.scala-lang.modules", "scala-parser-combinators_" ++ scalaMajorVersion, "1.0.5" ) + def xml = _maven( "org.scala-lang.modules", "scala-xml_" ++ scalaMajorVersion, "1.0.6" ) } } -- cgit v1.2.3