File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
integration/ide/gen-idea/resources/hello-idea/idea
runner/meta/src/mill/meta Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 44 <parameters >
55 <parameter value =" -Xplugin:<!-- IGNORE -->/com/lihaoyi/scalac-mill-moduledefs-plugin_3.7.1/0.11.10/scalac-mill-moduledefs-plugin_3.7.1-0.11.10.jar" />
66 <parameter value =" -deprecation" />
7+ <parameter value =" -Wconf:msg=will be encoded on the classpath:silent" />
78 </parameters >
89 <plugins >
910 <plugin path =" <!-- IGNORE -->/com/lihaoyi/scalac-mill-moduledefs-plugin_3.7.1/0.11.10/scalac-mill-moduledefs-plugin_3.7.1-0.11.10.jar" />
Original file line number Diff line number Diff line change @@ -249,7 +249,12 @@ trait MillBuildRootModule()(implicit
249249 .exclude(" com.lihaoyi" -> " sourcecode_3" )
250250 )
251251
252- override def scalacOptions : T [Seq [String ]] = Task { super .scalacOptions() ++ Seq (" -deprecation" ) }
252+ override def scalacOptions : T [Seq [String ]] = Task {
253+ super .scalacOptions() ++
254+ // This warning comes up for package names with dashes in them like "package build.`foo-bar`",
255+ // but Mill generally handles these fine, so no need to warn the user
256+ Seq (" -deprecation" , " -Wconf:msg=will be encoded on the classpath:silent" )
257+ }
253258
254259 /** Used in BSP IntelliJ, which can only work with directories */
255260 def dummySources : Task [Seq [PathRef ]] = Task .Sources (Task .dest)
You can’t perform that action at this time.
0 commit comments