@@ -8,10 +8,8 @@ def scalacVersionOptions(scalaVersion: String) =
88 }
99
1010lazy val commonSettings = Seq (
11- organization := " io.github.howardjohn" ,
1211 scalaVersion := Scala212Version ,
1312 crossScalaVersions := Seq (Scala212Version , Scala213Version ),
14- version := " 0.4.0"
1513)
1614
1715lazy val root = project
@@ -20,14 +18,38 @@ lazy val root = project
2018 .settings(noPublishSettings)
2119 .aggregate(common, tests, http4s, http4sZio, akka, exampleHttp4s, exampleAkka)
2220
21+ inThisBuild(List (
22+ organization := " com.dvdkly" ,
23+ homepage := Some (url(" https://github.com/kellydavid/scala-server-lambda" )),
24+ licenses := Seq (" MIT" -> url(" http://opensource.org/licenses/MIT" )),
25+ scmInfo := Some (
26+ ScmInfo (
27+ url(" https://github.com/kellydavid/scala-server-lambda" ),
28+ " scm:git@github.com:kellydavid/scala-server-lambda.git"
29+ )),
30+ developers := List (
31+ Developer (
32+ id = " howardjohn" ,
33+ name = " John Howard" ,
34+ email = " johnbhoward96@gmail.com" ,
35+ url = url(" https://github.com/howardjohn/" )
36+ ),
37+ Developer (
38+ id = " kellydavid" ,
39+ name = " David Kelly" ,
40+ email = " kellydavid178@gmail.com" ,
41+ url = url(" https://dvdkly.com" )
42+ )
43+ )
44+ ))
45+
2346lazy val CirceVersion = " 0.12.1"
2447lazy val ScalaTestVersion = " 3.1.0"
2548lazy val Http4sVersion = " 0.21.0-M5"
2649
2750lazy val common = project
2851 .in(file(" common" ))
2952 .settings(commonSettings)
30- .settings(publishSettings)
3153 .settings(
3254 moduleName := " scala-server-lambda-common" ,
3355 libraryDependencies ++=
@@ -41,7 +63,6 @@ lazy val common = project
4163lazy val tests = project
4264 .in(file(" tests" ))
4365 .settings(commonSettings)
44- .settings(publishSettings)
4566 .settings(
4667 moduleName := " scala-server-lambda-tests" ,
4768 libraryDependencies ++=
@@ -53,7 +74,6 @@ lazy val tests = project
5374
5475lazy val http4s = project
5576 .in(file(" http4s-lambda" ))
56- .settings(publishSettings)
5777 .settings(commonSettings)
5878 .settings(
5979 name := " http4s-lambda" ,
@@ -73,7 +93,6 @@ lazy val http4s = project
7393
7494lazy val http4sZio = project
7595 .in(file(" http4s-lambda-zio" ))
76- .settings(publishSettings)
7796 .settings(commonSettings)
7897 .settings(
7998 name := " http4s-lambda-zio" ,
@@ -96,7 +115,6 @@ lazy val http4sZio = project
96115
97116lazy val akka = project
98117 .in(file(" akka-http-lambda" ))
99- .settings(publishSettings)
100118 .settings(commonSettings)
101119 .settings(
102120 name := " akka-http-lambda" ,
@@ -141,38 +159,6 @@ lazy val exampleAkka = project
141159 .dependsOn(akka)
142160
143161lazy val noPublishSettings = Seq (
144- publish := {},
145- publishLocal := {},
146- publishArtifact := false
162+ skip in publish := true
147163)
148164
149- lazy val publishSettings = Seq (
150- homepage := Some (url(" https://github.com/howardjohn/scala-server-lambda" )),
151- licenses := Seq (" MIT" -> url(" http://opensource.org/licenses/MIT" )),
152- scmInfo := Some (
153- ScmInfo (
154- url(" https://github.com/howardjohn/scala-server-lambda" ),
155- " scm:git@github.com:howardjohn/scala-server-lambda.git"
156- )),
157- developers := List (
158- Developer (
159- id = " howardjohn" ,
160- name = " John Howard" ,
161- email = " johnbhoward96@gmail.com" ,
162- url = url(" https://github.com/howardjohn/" )
163- )
164- ),
165- credentials += Credentials (Path .userHome / " .sbt" / " .credentials" ),
166- publishMavenStyle := true ,
167- publishArtifact in Test := false ,
168- pomIncludeRepository := { _ =>
169- false
170- },
171- publishTo := {
172- val nexus = " https://oss.sonatype.org/"
173- if (isSnapshot.value)
174- Some (" snapshots" at nexus + " content/repositories/snapshots" )
175- else
176- Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
177- }
178- )
0 commit comments