1- ThisBuild / organization := " app.tulz"
2- ThisBuild / homepage := Some (url(" https://github.com/tulz-app/stringdiff" ))
3- ThisBuild / licenses += (" MIT" , url(" https://github.com/tulz-app/stringdiff/blob/main/LICENSE.md" ))
4- ThisBuild / developers := List (
5- Developer (
6- id = " yurique" ,
7- name = " Iurii Malchenko" ,
8- email = " i@yurique.com" ,
9- url = url(" https://github.com/yurique" )
1+ inThisBuild(
2+ List (
3+ organization := " app.tulz" ,
4+ homepage := Some (url(" https://github.com/tulz-app/stringdiff" )),
5+ licenses := List (" MIT" -> url(" https://github.com/tulz-app/stringdiff/blob/main/LICENSE.md" )),
6+ scmInfo := Some (ScmInfo (url(" https://github.com/tulz-app/stringdiff" ), " scm:git@github.com/tulz-app/laminext.git" )),
7+ developers := List (Developer (" yurique" , " Iurii Malchenko" , " i@yurique.com" , url(" https://github.com/yurique" ))),
8+ scalaVersion := ScalaVersions .v213,
9+ description := " String diff for Scala" ,
10+ crossScalaVersions := Seq (
11+ ScalaVersions .v213,
12+ ScalaVersions .v3RC2
13+ ),
14+ Test / publishArtifact := false ,
15+ Test / parallelExecution := false ,
16+ githubWorkflowJavaVersions := Seq (" openjdk@1.11.0" ),
17+ githubWorkflowTargetTags ++= Seq (" v*" ),
18+ githubWorkflowPublishTargetBranches := Seq (RefPredicate .StartsWith (Ref .Tag (" v" ))),
19+ githubWorkflowPublish := Seq (WorkflowStep .Sbt (List (" ci-release" ))),
20+ githubWorkflowBuild := Seq (WorkflowStep .Sbt (List (" test" , " website/fastLinkJS" ))),
21+ githubWorkflowEnv ~= (_ ++ Map (
22+ " PGP_PASSPHRASE" -> s " $$ {{ secrets.PGP_PASSPHRASE }} " ,
23+ " PGP_SECRET" -> s " $$ {{ secrets.PGP_SECRET }} " ,
24+ " SONATYPE_PASSWORD" -> s " $$ {{ secrets.SONATYPE_PASSWORD }} " ,
25+ " SONATYPE_USERNAME" -> s " $$ {{ secrets.SONATYPE_USERNAME }} "
26+ ))
1027 )
1128)
12- ThisBuild / releasePublishArtifactsAction := PgpKeys .publishSigned.value
13- ThisBuild / publishTo := sonatypePublishToBundle.value
14- ThisBuild / pomIncludeRepository := { _ => false }
15- ThisBuild / sonatypeProfileName := " yurique"
16- ThisBuild / publishArtifact in Test := false
17- ThisBuild / publishMavenStyle := true
18- ThisBuild / releaseCrossBuild := false
19- ThisBuild / crossScalaVersions := Seq (" 2.13.4" )
2029
2130lazy val noPublish = Seq (
2231 publishLocal / skip := true ,
@@ -29,27 +38,9 @@ lazy val stringdiff =
2938 .crossType(CrossType .Pure )
3039 .in(file(" stringdiff" ))
3140 .settings(
32- scalaVersion := " 2.13.4" ,
33- scalacOptions := Seq (
34- " -unchecked" ,
35- " -deprecation" ,
36- " -feature" ,
37- " -Xlint:nullary-unit,inaccessible,infer-any,missing-interpolator,private-shadow,type-parameter-shadow,poly-implicit-overload,option-implicit,delayedinit-select,stars-align" ,
38- " -Xcheckinit" ,
39- " -Ywarn-value-discard" ,
40- " -language:implicitConversions" ,
41- " -encoding" ,
42- " utf8"
43- ),
41+ ScalaOptions .fixOptions,
4442 libraryDependencies ++= Seq (
45- " org.scalatest" %%% " scalatest" % " 3.2.0" % Test
46- ),
47- description := " String diff for scala." ,
48- scmInfo := Some (
49- ScmInfo (
50- url(" https://github.com/tulz-app/stringdiff" ),
51- " scm:git@github.com/tulz-app/stringdiff.git"
52- )
43+ " org.scalatest" %%% " scalatest" % " 3.2.7" % Test
5344 )
5445 )
5546
0 commit comments