sbt migration from 0.13.0 to 1.3.0 #2740
Unanswered
Nikitha963
asked this question in
Q&A
Replies: 1 comment 10 replies
-
|
It doesn't look like there is anything like |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting error while migrating sbt from 0.13.0 to 1.3.0. I am currently facing issue in error: not found: value scriptClasspath.
My build.sbt file after the migration.
val main = (project in file(".")).
settings(
appName = "polaris",
appVersion = "1.strong text8.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
)
and also I have attached plugin.sbt file below -
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
//resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/"
//resolvers += "Maven Central Server" at "https://repo1.maven.org/maven2"
resolvers += Resolver.url("bintray-sbt-plugins", url("http://dl.bintray.com/sbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.7.2")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.6")
What wrong am I doing while migration? there is a syntax error I am not able to figure out.
plugins.sbt and build.sbt files are under project folder. scriptClasspath comes from build.sbt
I followed the below migration guide and changed file name from Build.scala to build.sbt
scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html
Beta Was this translation helpful? Give feedback.
All reactions