1+ lazy val commonSettings = Seq (
2+ organization := " nl.codestar" ,
3+ homepage := Some (url(" https://github.com/code-star/sbt-azure-functions-plugin" )),
4+ // version is set by sbt-dynver plugin (included through sbt-ci-assembly)
5+ description := " SBT Plugin to generate function.json artefacts needed to publish code as an Azure Function" ,
6+ licenses += (" MIT" , url(" https://opensource.org/licenses/MIT" )),
7+ developers := List (
8+ Developer (
9+ " jeanmarc" ,
10+ " Jean-Marc van Leerdam" ,
11+ " jean-marc.van.leerdam@ordina.nl" ,
12+ url(" https://github.com/jeanmarc" )
13+ )
14+ )
15+ )
16+
117lazy val root = (project in file(" ." ))
218 .aggregate(plugin)
319 .settings(
420 name := " sbt-azure-functions-plugin" ,
21+ commonSettings,
522 // the root project should not produce any artifacts
623 publishArtifact := false ,
724 publish := {}
@@ -11,20 +28,7 @@ lazy val plugin = (project in file("plugin"))
1128 .enablePlugins(SbtPlugin )
1229 .settings(
1330 name := " sbt-azure-functions" ,
14- organization := " nl.codestar" ,
15- homepage := Some (url(" https://github.com/code-star/sbt-azure-functions-plugin" )),
16- // version is set by sbt-dynver plugin (included through sbt-ci-assembly)
17- description := " SBT Plugin to generate function.json artefacts needed to publish code as an Azure Function" ,
18- licenses += (" MIT" , url(" https://opensource.org/licenses/MIT" )),
19- developers := List (
20- Developer (
21- " jeanmarc" ,
22- " Jean-Marc van Leerdam" ,
23- " jean-marc.van.leerdam@ordina.nl" ,
24- url(" https://github.com/jeanmarc" )
25- )
26- ),
27- sonatypeProfileName := organization.value,
31+ commonSettings,
2832 scalacOptions ++= Seq (
2933 " -encoding" ,
3034 " UTF8" ,
0 commit comments