-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a proper structure to the sbt project
- Loading branch information
Showing
8 changed files
with
46 additions
and
18 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 |
---|---|---|
@@ -1,25 +1,53 @@ | ||
inThisBuild(List( | ||
organization := "in.rcard", | ||
homepage := Some(url("https://github.com/rcardin")), | ||
// Alternatively License.Apache2 see https://github.com/sbt/librarymanagement/blob/develop/core/src/main/scala/sbt/librarymanagement/License.scala | ||
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), | ||
developers := List( | ||
Developer( | ||
"rcardin", | ||
"Riccardo Cardin", | ||
"riccardo DOT cardin AT gmail.com", | ||
url("https://github.com/rcardin/raise4s") | ||
inThisBuild( | ||
List( | ||
organization := "in.rcard", | ||
homepage := Some(url("https://github.com/rcardin")), | ||
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), | ||
developers := List( | ||
Developer( | ||
"rcardin", | ||
"Riccardo Cardin", | ||
"riccardo DOT cardin AT gmail.com", | ||
url("https://github.com/rcardin/raise4s") | ||
) | ||
) | ||
) | ||
)) | ||
) | ||
|
||
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org" | ||
sonatypeRepository := "https://s01.oss.sonatype.org/service/local" | ||
sonatypeRepository := "https://s01.oss.sonatype.org/service/local" | ||
|
||
name := "raise4s" | ||
//version := "0.0.1-SNAPSHOT" | ||
scalaVersion := "3.4.1" | ||
lazy val core = project | ||
.settings( | ||
name := "raise4s", | ||
libraryDependencies ++= commonDependencies | ||
) | ||
|
||
lazy val ox = project | ||
.settings( | ||
name := "raise4s-ox", | ||
libraryDependencies ++= commonDependencies ++ Seq( | ||
dependencies.ox | ||
) | ||
) | ||
.dependsOn( | ||
core | ||
) | ||
|
||
ThisBuild / scalaVersion := "3.4.1" | ||
|
||
lazy val dependencies = | ||
new { | ||
val scalatestVersion = "3.2.17" | ||
val oxVersion = "0.1.0" | ||
val ox = "com.softwaremill.ox" %% "core" % oxVersion | ||
val scalatest = "org.scalatest" %% "scalatest" % scalatestVersion | ||
} | ||
|
||
lazy val commonDependencies = Seq( | ||
dependencies.scalatest % Test | ||
) | ||
|
||
libraryDependencies ++= Seq( | ||
"org.scalatest" %% "scalatest" % "3.2.17" % Test | ||
) | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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=1.6.2 | ||
sbt.version=1.9.9 |