@@ -2,8 +2,9 @@ ThisBuild / description := "Google Cloud client code generator"
2
2
ThisBuild / organization := " dev.rolang"
3
3
ThisBuild / licenses := Seq (License .MIT )
4
4
ThisBuild / homepage := Some (url(" https://github.com/rolang/google-rest-api-codegen" ))
5
- ThisBuild / scalaVersion := " 3.3.5 "
5
+ ThisBuild / scalaVersion := " 3.3.6 "
6
6
ThisBuild / version ~= { v => if (v.contains('+' )) s " ${v.replace('+' , '-' )}-SNAPSHOT " else v }
7
+ ThisBuild / versionScheme := Some (" early-semver" )
7
8
ThisBuild / scmInfo := Some (
8
9
ScmInfo (
9
10
url(" https://github.com/rolang/google-rest-api-codegen" ),
@@ -25,15 +26,7 @@ lazy val testSettings = Seq(
25
26
)
26
27
27
28
lazy 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,
37
30
publishTo := sonatypePublishToBundle.value
38
31
)
39
32
0 commit comments