@@ -31,6 +31,28 @@ ThisBuild / Test / scalacOptions += "-Yrangepos"
3131
3232ThisBuild / githubWorkflowPublishTargetBranches := Seq ()
3333
34+ ThisBuild / organization := " org.mdedetrich"
35+ ThisBuild / homepage := Some (url(" https://github.com/mdedetrich/webmodels" ))
36+ ThisBuild / scmInfo := Some (
37+ ScmInfo (url(
" https://github.com/mdedetrich/webmodels" ),
" [email protected] :mdedetrich/webmodels.git" )
38+ )
39+ ThisBuild / developers := List (
40+ Developer (
" mdedetrich" ,
" Matthew de Detrich" ,
" [email protected] " , url(
" https://github.com/mdedetrich" ))
41+ )
42+ ThisBuild / licenses += (" BSD 2 Clause" , url(" https://opensource.org/licenses/BSD-2-Clause" ))
43+ ThisBuild / publishMavenStyle := true
44+ ThisBuild / publishTo := sonatypePublishTo.value
45+ ThisBuild / Test / publishArtifact := false
46+ ThisBuild / pomIncludeRepository := (_ => false )
47+ ThisBuild / scalacOptions ++= {
48+ CrossVersion .partialVersion(scalaVersion.value) match {
49+ case Some ((2 , n)) if n == 13 =>
50+ flagsFor13
51+ case Some ((2 , n)) if n == 12 =>
52+ flagsFor12
53+ }
54+ }
55+
3456lazy val root = project
3557 .in(file(" ." ))
3658 .aggregate(webmodelsJS, webmodelsJVM)
@@ -43,26 +65,7 @@ lazy val root = project
4365lazy val webmodels = crossProject(JSPlatform , JVMPlatform )
4466 .in(file(" ." ))
4567 .settings(
46- name := " webmodels" ,
47- organization := " org.mdedetrich" ,
48- homepage := Some (url(" https://github.com/mdedetrich/webmodels" )),
49- scmInfo
:= Some (
ScmInfo (url(
" https://github.com/mdedetrich/webmodels" ),
" [email protected] :mdedetrich/webmodels.git" )),
50- developers := List (
51- Developer (
" mdedetrich" ,
" Matthew de Detrich" ,
" [email protected] " , url(
" https://github.com/mdedetrich" ))
52- ),
53- licenses += (" BSD 2 Clause" , url(" https://opensource.org/licenses/BSD-2-Clause" )),
54- publishMavenStyle := true ,
55- publishTo := sonatypePublishTo.value,
56- Test / publishArtifact := false ,
57- pomIncludeRepository := (_ => false ),
58- scalacOptions ++= {
59- CrossVersion .partialVersion(scalaVersion.value) match {
60- case Some ((2 , n)) if n == 13 =>
61- flagsFor13
62- case Some ((2 , n)) if n == 12 =>
63- flagsFor12
64- }
65- }
68+ name := " webmodels"
6669 )
6770 .jvmSettings(
6871 libraryDependencies ++= Seq (
0 commit comments