How to disable dependency resolution during "package" in sbt

We have a project with several subprojects and complex interdependencies. Subprojects use similar sets of external dependencies (Spring, Apache, etc.).

It takes a tremendous amount of time to resolve dependencies (possibly due to redundant dependencies) even in offline mode.

How to solve this? How can we disable updating and re-resolving external dependencies during packaging.

version: 0.12.1

+5
source share
1 answer

skip in update := truewill prevent the execution of updatework. Instead, he uses the results of the previous one update.

, , update (, ) clean, , , update.

update skip update.

, , . , , .

+1

All Articles