Skip to content

Commit

Permalink
Merge pull request #247 from godenji/0.2.3
Browse files Browse the repository at this point in the history
0.2.3 Release
  • Loading branch information
godenji authored Aug 10, 2017
2 parents 9cdd77d + dd2fe98 commit e316052
Show file tree
Hide file tree
Showing 21 changed files with 50 additions and 42 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.2.3 (10/August/17)

* Updated to Scala 2.12.3

0.2.2 (19/July/17)

* Added IDE friendly preference descriptors
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Usage within a project

Have a use for the scalariform source code directly? You can use it as a build dependency: ::

"org.scalariform" %% "scalariform" % "0.2.2"
"org.scalariform" %% "scalariform" % "0.2.3"

Integration with Eclipse
------------------------
Expand Down
56 changes: 30 additions & 26 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,31 @@ import com.typesafe.sbt.SbtScalariform.ScalariformKeys
import scalariform.formatter.preferences._

lazy val commonSettings = inConfig(Test)(Defaults.testSettings) ++
SbtScalariform.defaultScalariformSettings ++ Seq(
organization := "org.scalariform",
sonatypeProfileName := organization.value,
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq(
"2.12.2",
"2.11.11",
"2.10.6"
),
exportJars := true, // Needed for cli oneJar
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 12)) => Seq(
"-Xlint:-unused,_", "-Ywarn-unused:imports",
"-language:postfixOps", "-language:implicitConversions",
"-deprecation", "-feature"
)
case Some((2, major)) if major >= 11 =>
scalac2_10Options ++ scalac2_11Options
case _ =>
scalac2_10Options
}),
credentials ++= {
val creds = Path.userHome / ".m2" / "credentials"
if (creds.exists) Seq(Credentials(creds)) else Nil
}
)
SbtScalariform.defaultScalariformSettings ++ Seq(
organization := "org.scalariform",
sonatypeProfileName := organization.value,
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq(
"2.12.3",
"2.11.11",
"2.10.6"
),
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 12)) => Seq(
"-Xlint:-unused,_", "-Ywarn-unused:imports",
"-language:postfixOps", "-language:implicitConversions",
"-deprecation", "-feature"
)
case Some((2, major)) if major >= 11 =>
scalac2_10Options ++ scalac2_11Options
case _ =>
scalac2_10Options
}),
credentials ++= {
val creds = Path.userHome / ".m2" / "credentials"
if (creds.exists) Seq(Credentials(creds)) else Nil
}
)

def scalac2_10Options = Seq(
"-encoding", "UTF-8",
Expand Down Expand Up @@ -169,4 +168,9 @@ def pomExtraXml =
<name>Mariano de Achaval</name>
<url>https://github.com/machaval/</url>
</developer>
<developer>
<id>godenji</id>
<name>N.S. Cutler</name>
<url>https://github.com/godenji/</url>
</developer>
</developers>
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.scalariform</groupId>
<artifactId>scalariform.parent</artifactId>
<version>0.2.2</version>
<version>0.2.3</version>
<packaging>pom</packaging>

<!-- scm configuration is require to extract the github hash-->
Expand All @@ -16,7 +16,7 @@
<properties>
<encoding>UTF-8</encoding>
<tycho.version>0.24.0</tycho.version>
<scala.version>2.12.2</scala.version>
<scala.version>2.12.3</scala.version>
<scala.xml.version>1.0.6</scala.xml.version>
<scala.parser-combinators.version>1.0.6</scala.parser-combinators.version>
<scala.version.suffix>2_12</scala.version.suffix>
Expand Down Expand Up @@ -162,7 +162,7 @@
<profile>
<id>scala-2.12.x</id>
<properties>
<scala.version>2.12.2</scala.version>
<scala.version>2.12.3</scala.version>
<version.suffix>2.12</version.suffix>
</properties>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.6.0")
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.7.1")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.6.1")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.2")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.5")
2 changes: 1 addition & 1 deletion scalariform.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="scalariform.feature"
label="Scalariform"
version="0.2.2">
version="0.2.3">

<description>
Scala Code formatter
Expand Down
2 changes: 1 addition & 1 deletion scalariform.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<parent>
<artifactId>scalariform.parent</artifactId>
<groupId>org.scalariform</groupId>
<version>0.2.2</version>
<version>0.2.3</version>
</parent>
</project>
2 changes: 1 addition & 1 deletion scalariform.update/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<parent>
<artifactId>scalariform.parent</artifactId>
<groupId>org.scalariform</groupId>
<version>0.2.2</version>
<version>0.2.3</version>
</parent>
</project>
4 changes: 2 additions & 2 deletions scalariform.update/site.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description name="Scalariform Update Site"
url="https://github.com/scala-ide/scalariform/tree/0.2.2/scalariform.update/target/site">
url="https://github.com/scala-ide/scalariform/tree/0.2.3/scalariform.update/target/site">
Scalariform Update Site
</description>
<feature url="features/scalariform.feature_0.2.2.jar" version="0.2.2" id="scalariform.feature">
<feature url="features/scalariform.feature_0.2.3.jar" version="0.2.3" id="scalariform.feature">
<category name="Scala"/>
</feature>
<category-def name="Scala" label="Scala"/>
Expand Down
Binary file modified scalariform.update/target/site.zip
Binary file not shown.
Binary file modified scalariform.update/target/site/artifacts.jar
Binary file not shown.
Binary file modified scalariform.update/target/site/content.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions scalariform.update/target/site/site.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description name="Scalariform Update Site"
url="https://github.com/scala-ide/scalariform/tree/0.2.2/scalariform.update/target/site">
url="https://github.com/scala-ide/scalariform/tree/0.2.3/scalariform.update/target/site">
Scalariform Update Site
</description>
<feature url="features/scalariform.feature_0.2.2.jar" version="0.2.2" id="scalariform.feature">
<feature url="features/scalariform.feature_0.2.3.jar" version="0.2.3" id="scalariform.feature">
<category name="Scala"/>
</feature>
<category-def name="Scala" label="Scala"/>
Expand Down
Binary file modified scalariform.update/target/site_assembly.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion scalariform/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Scalariform
Bundle-SymbolicName: scalariform
Bundle-Version: 0.2.2
Bundle-Version: 0.2.3
Require-Bundle: org.scala-lang.scala-library,
org.scala-lang.modules.scala-xml
Bundle-ClassPath: .
Expand Down
2 changes: 1 addition & 1 deletion scalariform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<artifactId>scalariform.parent</artifactId>
<groupId>org.scalariform</groupId>
<version>0.2.2</version>
<version>0.2.3</version>
</parent>
<dependencies>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.2.2"
version in ThisBuild := "0.2.3"

0 comments on commit e316052

Please sign in to comment.