@@ -24,7 +24,7 @@ object ScalaModulePlugin extends AutoPlugin {
2424 override def trigger = allRequirements
2525
2626 // Settings in here are implicitly `in ThisBuild`
27- override def buildSettings : Seq [Setting [_ ]] = Seq (
27+ override def buildSettings : Seq [Setting [? ]] = Seq (
2828 scalaModuleEnableOptimizerInlineFrom := " <sources>" ,
2929
3030 // drop # suffix from tags
@@ -33,10 +33,10 @@ object ScalaModulePlugin extends AutoPlugin {
3333 )
3434
3535 // Settings added to the project scope
36- override def projectSettings : Seq [Setting [_ ]] = Seq ()
36+ override def projectSettings : Seq [Setting [? ]] = Seq ()
3737
3838 // Global settings
39- override def globalSettings : Seq [Def .Setting [_ ]] = Seq (
39+ override def globalSettings : Seq [Def .Setting [? ]] = Seq (
4040 // Since we use sbt-dynver, see https://github.com/scalacenter/sbt-version-policy#how-to-integrate-with-sbt-dynver
4141 versionPolicyIgnoredInternalDependencyVersions := Some (" ^\\ d+\\ .\\ d+\\ .\\ d+\\ +\\ d+" .r)
4242 )
@@ -48,7 +48,7 @@ object ScalaModulePlugin extends AutoPlugin {
4848 * Thus, for consistent results, release artifacts must only be built on CI --
4949 * which is the expected norm for Scala modules, anyway.
5050 */
51- lazy val enableOptimizer : Setting [_ ] = Compile / compile / scalacOptions ++= {
51+ lazy val enableOptimizer : Setting [? ] = Compile / compile / scalacOptions ++= {
5252 if (insideCI.value) {
5353 val log = sLog.value
5454 val inlineFrom = scalaModuleEnableOptimizerInlineFrom.value
@@ -67,7 +67,7 @@ object ScalaModulePlugin extends AutoPlugin {
6767 /**
6868 * To be included in the main sbt project of a Scala module.
6969 */
70- lazy val scalaModuleSettings : Seq [Setting [_ ]] = Seq (
70+ lazy val scalaModuleSettings : Seq [Setting [? ]] = Seq (
7171 scalaModuleRepoName := name.value,
7272
7373 organization := " org.scala-lang.modules" ,
@@ -148,10 +148,10 @@ object ScalaModulePlugin extends AutoPlugin {
148148 ) ++ mimaSettings
149149
150150 @ deprecated(" use scalaModuleOsgiSettings instead" , " 2.2.0" )
151- lazy val scalaModuleSettingsJVM : Seq [Setting [_ ]] = scalaModuleOsgiSettings
151+ lazy val scalaModuleSettingsJVM : Seq [Setting [? ]] = scalaModuleOsgiSettings
152152
153153 // enables the SbtOsgi plugin and defines some default settings
154- lazy val scalaModuleOsgiSettings : Seq [Setting [_ ]] = SbtOsgi .projectSettings ++ SbtOsgi .autoImport.osgiSettings ++ Seq (
154+ lazy val scalaModuleOsgiSettings : Seq [Setting [? ]] = SbtOsgi .projectSettings ++ SbtOsgi .autoImport.osgiSettings ++ Seq (
155155 OsgiKeys .bundleSymbolicName := s " ${organization.value}. ${name.value}" ,
156156 OsgiKeys .bundleVersion := osgiVersion.value,
157157
@@ -170,7 +170,7 @@ object ScalaModulePlugin extends AutoPlugin {
170170 // Internal task keys for the versionPolicy settings
171171 private val runVersionPolicyCheckIfEnabled = taskKey[Unit ](" Run versionPolicyCheck if versionPolicyIntention is not set to Compatibility.None." )
172172
173- private lazy val mimaSettings : Seq [Setting [_ ]] = Seq (
173+ private lazy val mimaSettings : Seq [Setting [? ]] = Seq (
174174 versionPolicyIntention := Compatibility .None ,
175175
176176 runVersionPolicyCheckIfEnabled := Def .taskDyn({
0 commit comments