@@ -2,8 +2,9 @@ ThisBuild / description := "Google Cloud client code generator"
22ThisBuild / organization := " dev.rolang"
33ThisBuild / licenses := Seq (License .MIT )
44ThisBuild / homepage := Some (url(" https://github.com/rolang/google-rest-api-codegen" ))
5- ThisBuild / scalaVersion := " 3.3.5 "
5+ ThisBuild / scalaVersion := " 3.3.6 "
66ThisBuild / version ~= { v => if (v.contains('+' )) s " ${v.replace('+' , '-' )}-SNAPSHOT " else v }
7+ ThisBuild / versionScheme := Some (" early-semver" )
78ThisBuild / scmInfo := Some (
89 ScmInfo (
910 url(" https://github.com/rolang/google-rest-api-codegen" ),
@@ -25,15 +26,7 @@ lazy val testSettings = Seq(
2526)
2627
2728lazy val publishSettings = List (
28- credentials += Credentials (
29- " Sonatype Nexus Repository Manager" ,
30- " oss.sonatype.org" ,
31- sys.env.getOrElse(" SONATYPE_USERNAME" , " " ),
32- sys.env.getOrElse(" SONATYPE_PASSWORD" , " " )
33- ),
34- usePgpKeyHex(" 537C76F3EFF1B9BE6FD238B442BD95234C9636F3" ),
35- sonatypeCredentialHost := " oss.sonatype.org" ,
36- sonatypeRepository := s " https:// ${sonatypeCredentialHost.value}/service/local " ,
29+ sonatypeCredentialHost := xerial.sbt.Sonatype .sonatypeCentralHost,
3730 publishTo := sonatypePublishToBundle.value
3831)
3932
0 commit comments