sbt - PlayFramework resolves dependencies every launch -


every time launch app play resolves dependencies. considering happens every single launch takes lot of time... there time had problem 1 lib wasn't unavailable app didn't launch... there anyway configure play/sbt work maven? download dependencies , use local instead resolve every launch?

yes, can this. add skip in update := true in build.sbt file stop dependencies resolution. build.sbt looks like

...  scalaversion := "2.11.6"  skip in update := true  librarydependencies ++= seq(   javajdbc,   cache,   javaws,   "com.datastax.cassandra" % "cassandra-driver-core" % "2.1.6" )  ...  

you can read more dependency tuning in typesafe sbt documentation: http://www.scala-sbt.org/release/docs/dependency-management-flow.html

btw, documentation says:

if no dependency management configuration has changed since last successful resolution , retrieved files still present, sbt not ask ivy perform resolution.

i have behaviours, not sure why have:

every time launch app play resolves dependencies


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -