-
sbtのversionによって違うかも。他にもいくつか書き方あるかも? とりあえず 0.11.2 で確認
-
関連するソース
-
https://github.com/harrah/xsbt/blob/v0.11.2/main/Keys.scala#L264-267
-
https://github.com/harrah/xsbt/blob/v0.11.2/ivy/IvyInterface.scala#L183-203
-
externalResolvers := Nil
とかでも scala-tools は消えるはずだけど、そうすると、デフォルトで登録されている ローカルとhttp://download.java.net/maven/2
も全部消えちゃうので -
scala-tools 自体の設定を消さなくても、無駄にリクエスト投げたりする分ちょっと起動が遅くなるだけでそこまで害はないはず?
-
新しくでる sbt ではそのあたり変わるらしい? harrah/xsbt#380
-
project 毎の
build.sbt
で設定するのではなく、 global に設定してしまったほうがよい? https://github.com/harrah/xsbt/wiki/Global-Settings
Created
March 7, 2012 07:58
-
-
Save xuwei-k/1991792 to your computer and use it in GitHub Desktop.
sbt で scala-tools を見に行かないように設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
externalResolvers ~= { _.filterNot{_.name.contains("Scala-Tools")} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment