Scala 从0.13迁移到1.0时发生sbt错误

Scala 从0.13迁移到1.0时发生sbt错误,scala,playframework,sbt,Scala,Playframework,Sbt,我正在将我的sbt版本从0.13.0升级到1.3.0,我在build.sbt文件中遇到了一些问题。请帮助我获取正确的结构。当前面临的问题有错误:找不到:值scriptClasspath。以下是经过以下迁移步骤后的我的build.sbt文件: val main = (project in file(".")). settings( appName = "polaris", appVersion

我正在将我的sbt版本从0.13.0升级到1.3.0,我在build.sbt文件中遇到了一些问题。请帮助我获取正确的结构。当前面临的问题有错误:找不到:值scriptClasspath。以下是经过以下迁移步骤后的我的build.sbt文件:

val main = (project in file(".")).
     settings(
        appName         = "polaris",
        appVersion      = "1.8.8",
        //scriptClasspath := Seq("modules/*", "customer-modules/*")
       // scriptClasspath = Seq[File] = file("modules/*") :: ("customer-modules/*") :: Nil
        **scriptClasspath** ~= { cp => cp.+:("modules/*").+:("customer-modules/*") }
    ).dependsOn(
       core, addressbook, pbx, pbxAppSoftphones, pbxAppCallLog, pbxAppQueues, pbxAppPhonebook, pbxAppClick2dial, pbxAppOperator
    ).aggregate(
       core, addressbook, pbx, pbxAppSoftphones, pbxAppCallLog, pbxAppQueues, pbxAppPhonebook, pbxAppClick2dial, pbxAppOperator
    )

你也能分享你的plugins.sbt吗?我相信scriptClasspath来自sbt原生打包机。这可能取决于您使用的版本。根据他们的说法,听起来不错:
sbt本机打包程序是自动打包的。将其添加到您的插件中。sbt:addSbtPlugin(“com.typesafe.sbt“%”sbt native packager“%”x.y.z”)
@gregghz mu plugins.sbt:更改后:从0.13.0迁移到1.3.0更改为以下//注释以在初始化期间获取更多信息日志级别:=级别。警告//类型安全存储库//解析程序+=“类型安全存储库”解析程序+=“sbt.librarymanagement.Resolver”位于“”//使用Play sbt插件进行Play项目添加SBTPlugin(“com.typesafe.Play”%”sbt插件“%”2.6.7“)添加SBTPlugin(“com.eed3si9n”%”sbt程序集“%”0.14.5“)0.13.0 plugins.sbt://注释以在初始化期间获取更多信息logLevel:=Level.Warn//Typesafe存储库解析程序+=“Typesafe存储库”位于“”//使用Play sbt插件进行播放项目addSbtPlugin(“com.Typesafe.Play“%”sbt plugin“%”2.2.6“)addSbtPlugin(“com.eed3si9n“%”sbt buildinfo“%”0.2.5”)上面的一个我得到了与上述版本的依赖性问题,因此相应地改变