Open timrettop opened 3 years ago
I was able to work around this by defining a repositories file and pointing sbt to it.
contents of /home/ec2-user/.sbt/repositories
local
sbt-releases-repo: https://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
sbt-plugins-repo: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
maven-central: https://repo1.maven.org/maven2/
typesafe-releases: https://repo.typesafe.com/typesafe/releases
typesafe-ivy-releases: https://repo.typesafe.com/typesafe/ivy-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
and execute sbt with a flag to point to this repositories file and override the cache (not sure if the second flag is always required).
sbt -Dsbt.repository.config=/home/ec2-user/.sbt/repositories -Dsbt.override.build.repos=true
But there's probably a better way of handling it, I guess depending on the sbt environment maybe?
Could you make a pull request for this one, i will merge it into master
Hi there, I was looking at deploying this following the guidance in #10 however I run into an error when starting sbt.
Wondering if anyone has tried deploying this recently, does the project need to have updated sbt or scala versions?