@@ -87,19 +87,13 @@ inThisBuild(
87
87
// This needs to be set otherwise the GitHub workflow plugin gets confused about which
88
88
// version to use for the publish job.
89
89
scalaVersion := scala212,
90
- versionPolicyFirstVersion := Some (" 0.1.9 " ),
90
+ versionPolicyFirstVersion := Some (" 0.1.10 " ),
91
91
versionPolicyIntention := Compatibility .BinaryAndSourceCompatible ,
92
92
versionScheme := Some (" early-semver" )
93
93
)
94
94
)
95
95
96
- val sonatypeSettings = List (
97
- // Workaround for https://github.com/olafurpg/sbt-ci-release/issues/181
98
- sonatypeCredentialHost := " s01.oss.sonatype.org" ,
99
- sonatypeRepository := " https://s01.oss.sonatype.org/service/local"
100
- )
101
-
102
- val commonProjectSettings = sonatypeSettings ++ List (
96
+ val commonProjectSettings = List (
103
97
isScala213 := isScala213Setting.value,
104
98
scalastyleFailOnError := true ,
105
99
scalastyleFailOnWarning := true ,
@@ -127,11 +121,13 @@ val libraryProjectSettings = commonProjectSettings
127
121
lazy val root = (project in file(" ." ))
128
122
.aggregate(cli, core, docs, sbtProject)
129
123
.settings(metaProjectSettings)
130
- // The sbt-sonatype plugin requires these to go on the root project too.
131
- .settings(sonatypeSettings)
132
124
.settings(
133
125
crossScalaVersions := supportedScalaVersions,
134
126
name := " scala2plantuml" ,
127
+ // Workaround for https://github.com/olafurpg/sbt-ci-release/issues/181
128
+ // These have to go on the root project.
129
+ sonatypeCredentialHost := " s01.oss.sonatype.org" ,
130
+ sonatypeRepository := " https://s01.oss.sonatype.org/service/local"
135
131
)
136
132
137
133
lazy val core = project
0 commit comments