println(assemblyJarName.value)
无效,原来是错误的:[error] Did you mean assemblyPackageDependency / assemblyJarName ?
答案 0 :(得分:0)
如果在assemblyJarName
中定义了build.sbt
assemblyJarName in assembly := "hello.jar"
然后在您按以下方式致电in assembly
时尝试提供value
println((assemblyJarName in assembly).value)