@@ -15,7 +15,8 @@ import sbtide.Keys.*
15
15
import sbtunidoc .BaseUnidocPlugin .autoImport .{unidoc , unidocProjectFilter }
16
16
import sbtunidoc .ScalaUnidocPlugin
17
17
import sbtunidoc .ScalaUnidocPlugin .autoImport .ScalaUnidoc
18
- import xerial .sbt .Sonatype .autoImport .sonatypeProfileName
18
+ import xerial .sbt .Sonatype
19
+ import xerial .sbt .Sonatype .autoImport .{sonatypeCredentialHost , sonatypeProfileName }
19
20
20
21
object Commons extends ProjectGroup (" commons" ) {
21
22
// 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") {
56
57
organizationName := " AVSystem" ,
57
58
description := " AVSystem commons library for Scala" ,
58
59
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,
62
62
scmInfo := Some (ScmInfo (
63
- browseUrl = url(" https://github.com/AVSystem/scala-commons.git " ),
63
+ browseUrl = url(" https://github.com/AVSystem/scala-commons" ),
64
64
connection
= " scm:git:[email protected] :AVSystem/scala-commons.git" ,
65
65
devConnection
= Some (
" scm:git:[email protected] :AVSystem/scala-commons.git" ),
66
66
)),
0 commit comments