-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Published on maven central in group "com.github.arthur-bit-monnot"
- Loading branch information
Showing
2 changed files
with
24 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name := "fape-build" | |
|
||
// global settings | ||
val _organization = "com.github.arthur-bit-monnot" | ||
val _version = "1.0-SNAPSHOT" | ||
val _version = "1.0" | ||
val _scalaVersion = "2.12.2" | ||
|
||
|
||
|
@@ -28,14 +28,24 @@ lazy val commonSettings = Seq( | |
val oldStrategy = (assemblyMergeStrategy in assembly).value | ||
oldStrategy(x) | ||
}, | ||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test" | ||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test", | ||
// To sync with Maven central, you need to supply the following information: | ||
publishMavenStyle := true, | ||
|
||
// POM settings for Sonatype | ||
homepage := Some(url("https://github.com/arthur-bit-monnot/fape")), | ||
scmInfo := Some(ScmInfo(url("https://github.com/arthur-bit-monnot/fape"), "[email protected]:arthur-bit-monnot/fape.git")), | ||
developers += Developer("abitmonn", "Arthur Bit-Monnot", "[email protected]", url("https://github.com/arthur-bit-monnot")), | ||
licenses += ("BSD-2-Clause", url("https://opensource.org/licenses/BSD-2-Clause")), | ||
pomIncludeRepository := (_ => false) | ||
) | ||
|
||
lazy val root = project.in(file(".")). | ||
aggregate(fapePlanning). | ||
|
||
settings( | ||
publish := {}, | ||
|
||
publishLocal := {} | ||
) | ||
|
||
|
@@ -78,4 +88,10 @@ packJvmOpts := Map( | |
"fape" -> Seq("-ea") | ||
) | ||
|
||
|
||
// Add sonatype repository settings | ||
publishTo := Some( | ||
if (isSnapshot.value) | ||
Opts.resolver.sonatypeSnapshots | ||
else | ||
Opts.resolver.sonatypeStaging | ||
) |
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