This repository has been archived by the owner on Mar 11, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82c8f03
commit 758e08f
Showing
18 changed files
with
169 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
import common._ | ||
|
||
promptSettings | ||
|
||
assemblySettings | ||
|
||
mergeSettings | ||
|
||
macrosSettings | ||
common.mergeSettings | ||
|
||
scalacOptions ++= Seq("-language:postfixOps", "-language:reflectiveCalls") | ||
|
||
publish := {} | ||
enablePlugins(DisablePublishingPlugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
import common._ | ||
|
||
promptSettings | ||
scalacOptions in Compile := (scalacOptions in Compile).value.filterNot(f => f == "-Xlint" || f == "-Xfatal-warnings") | ||
|
||
macrosSettings | ||
|
||
publish := {} | ||
enablePlugins(DisablePublishingPlugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
import common._ | ||
|
||
scalacOptions += "-language:reflectiveCalls" | ||
|
||
macrosSettings | ||
|
||
testSettings | ||
|
||
promptSettings | ||
|
||
assemblySettings | ||
|
||
mergeSettings | ||
common.mergeSettings | ||
|
||
publish := {} | ||
enablePlugins(DisablePublishingPlugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
import common._ | ||
|
||
scalacOptions ++= Seq( | ||
"-language:existentials", | ||
"-language:postfixOps" | ||
) | ||
|
||
macrosSettings | ||
|
||
promptSettings | ||
|
||
ignoreSettings | ||
enablePlugins(DisablePublishingPlugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
//: ---------------------------------------------------------------------------- | ||
//: Copyright (C) 2016 Verizon. All Rights Reserved. | ||
//: | ||
//: Licensed under the Apache License, Version 2.0 (the "License"); | ||
//: you may not use this file except in compliance with the License. | ||
//: You may obtain a copy of the License at | ||
//: | ||
//: http://www.apache.org/licenses/LICENSE-2.0 | ||
//: | ||
//: Unless required by applicable law or agreed to in writing, software | ||
//: distributed under the License is distributed on an "AS IS" BASIS, | ||
//: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
//: See the License for the specific language governing permissions and | ||
//: limitations under the License. | ||
//: | ||
//: ---------------------------------------------------------------------------- | ||
package verizon.build | ||
|
||
import sbt._, Keys._ | ||
import xerial.sbt.Sonatype.autoImport.sonatypeProfileName | ||
|
||
object CentralRequirementsPlugin extends AutoPlugin { | ||
|
||
override def trigger = allRequirements | ||
|
||
override def requires = RigPlugin | ||
|
||
override lazy val projectSettings = Seq( | ||
sonatypeProfileName := "io.verizon", | ||
pomExtra in Global := { | ||
<developers> | ||
<developer> | ||
<id>timperrett</id> | ||
<name>Timothy Perrett</name> | ||
<url>http://github.com/timperrett</url> | ||
</developer> | ||
<developer> | ||
<id>runarorama</id> | ||
<name>Runar Bjarnason</name> | ||
<url>http://github.com/runarorama</url> | ||
</developer> | ||
<developer> | ||
<id>stew</id> | ||
<name>Stew O'Connor</name> | ||
<url>http://github.com/stew</url> | ||
</developer> | ||
<developer> | ||
<id>ahjohannessen</id> | ||
<name>Alex Henning Johannessen</name> | ||
<url>https://github.com/ahjohannessen</url> | ||
</developer> | ||
<developer> | ||
<id>pchiusano</id> | ||
<name>Paul Chiusano</name> | ||
<url>https://github.com/pchiusano</url> | ||
</developer> | ||
<developer> | ||
<id>jedesah</id> | ||
<name>Jean-Rémi Desjardins</name> | ||
<url>https://github.com/jedesah</url> | ||
</developer> | ||
</developers> | ||
}, | ||
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")), | ||
homepage := Some(url("http://verizon.github.io/remotely/")), | ||
scmInfo := Some(ScmInfo(url("https://github.com/verizon/remotely"), | ||
"git@github.com:verizon/remotely.git")) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
//: ---------------------------------------------------------------------------- | ||
//: Copyright (C) 2016 Verizon. All Rights Reserved. | ||
//: | ||
//: Licensed under the Apache License, Version 2.0 (the "License"); | ||
//: you may not use this file except in compliance with the License. | ||
//: You may obtain a copy of the License at | ||
//: | ||
//: http://www.apache.org/licenses/LICENSE-2.0 | ||
//: | ||
//: Unless required by applicable law or agreed to in writing, software | ||
//: distributed under the License is distributed on an "AS IS" BASIS, | ||
//: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
//: See the License for the specific language governing permissions and | ||
//: limitations under the License. | ||
//: | ||
//: ---------------------------------------------------------------------------- | ||
package verizon.build | ||
|
||
import sbt._, Keys._ | ||
import xerial.sbt.Sonatype.autoImport.sonatypeProfileName | ||
|
||
object MacroPlugin extends AutoPlugin { | ||
|
||
override def trigger = allRequirements | ||
|
||
override def requires = RigPlugin | ||
|
||
override lazy val projectSettings = Seq( | ||
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full), | ||
libraryDependencies ++= Seq( | ||
"org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided" | ||
) ++ ( | ||
CrossVersion.partialVersion(scalaVersion.value) match { | ||
case Some((2, scalaMajor)) if scalaMajor == 10 => Seq("org.scalamacros" %% "quasiquotes" % "2.1.0") | ||
case _ => Nil | ||
} | ||
), | ||
unmanagedSourceDirectories in Compile += | ||
(sourceDirectory in Compile).value / "macros" / s"scala-${scalaBinaryVersion.value}" | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.9 | ||
sbt.version=0.13.12 |
Oops, something went wrong.