@@ -15,7 +15,8 @@ import sbtide.Keys.*
1515import sbtunidoc .BaseUnidocPlugin .autoImport .{unidoc , unidocProjectFilter }
1616import sbtunidoc .ScalaUnidocPlugin
1717import sbtunidoc .ScalaUnidocPlugin .autoImport .ScalaUnidoc
18- import xerial .sbt .Sonatype .autoImport .sonatypeProfileName
18+ import xerial .sbt .Sonatype
19+ import xerial .sbt .Sonatype .autoImport .{sonatypeCredentialHost , sonatypeProfileName }
1920
2021object Commons extends ProjectGroup (" commons" ) {
2122 // We need to generate slightly different structure for IntelliJ in order to better support ScalaJS cross projects.
@@ -56,11 +57,10 @@ object Commons extends ProjectGroup("commons") {
5657 organizationName := " AVSystem" ,
5758 description := " AVSystem commons library for Scala" ,
5859 startYear := Some (2015 ),
59- licenses := Vector (
60- " The MIT License" -> url(" https://opensource.org/licenses/MIT" ),
61- ),
60+ licenses := Vector (License .MIT ),
61+ sonatypeCredentialHost := Sonatype .sonatypeCentralHost,
6262 scmInfo := Some (ScmInfo (
63- browseUrl = url(" https://github.com/AVSystem/scala-commons.git " ),
63+ browseUrl = url(" https://github.com/AVSystem/scala-commons" ),
6464 connection = " scm:git:git@github.com:AVSystem/scala-commons.git" ,
6565 devConnection = Some (" scm:git:git@github.com:AVSystem/scala-commons.git" ),
6666 )),
0 commit comments