These are chat archives for sbt/sbt
A relaxed chat room about sbt (That interactive build tool). For getting help on sbt, we encourage people to document it on Stackoverflow or subscribing to Lightbend subscription.
build.propertiesalone should let you upgrade sbt for the build, but there are certain feature that requires installation on the system. iirc preference of default resolvers HTTPS, Maven Central vs JCenter might require launcher update. JDK 9 support in 0.13.14 also requires update because some hacks are in the bash script.
my suspision is its currently just refusing to go up, but i dont have any evidence backing it atm besides the error messages im seeing
i have the following files:
lazy val proj1 = project in file("proj1") settings (name := "test") lazy val proj2 = project in file("proj1/proj2")
version := "1"
lazy val proj1 = project in file("..") version := (version in proj1).value
the goal is for proj2 to inherit a value from proj1 (e.g. version), and it almost works, the problem is that when i inspect proj1/name, i get "proj1" instead of "test". it seems that proj1 is initialised by proj2 due to the ".." reference, and then further settings in the root build.sbt are ignored. is there a better way to achieve inherited values without having additional settings ignored?
version := (version in LocalProject("proj1")).value
foo/(on same level as the
build.sbt) to final package? i.e. play application. same specified directory at the end final package. Thank you
ghpagesPushSitework with 2FA? can't remember for the life of me
gitRemoteRepoinstead of git@-like and it prompted me for my token
version.valueisn't the same as what it would be if it were re-computed right now.
what error messages are you seeing?
So the SBT version on the server is 0.13.5 (or it should be anyways..), the build.properties for one SBT project is 0.13.5 and another is 0.13.13, but i'm seeing in the logs
[2K[0m[[0minfo[0m] [0mResolving org.scala-sbt#sbt;0.13.8 ...[0m (a couple lines similar to that)
$ cat project/plugins.sbt addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M15") addSbtPlugin("com.eed3si9n" % "sbt-doge" % "0.1.5") addSbtPlugin("io.spray" % "sbt-revolver" % "0.8.0")
shellPrompthas a newline in it, sbt escapes everything (including ansi codes) to make it a single line again.
sbtto make it print the default version/
sbt aboutin an empty directory, or you can peek into the launcher jar
Process(List("sbt", "compile"), "some/directory/here")cause it not to pick up the SBT build.properties for the project defined in