Changing Ivy Cache Location for sbt projects in IntelliJ IDEA?

前端 未结 3 1231
心在旅途
心在旅途 2020-12-05 11:31

I have sbt 0.13.2 with a Scala project in IntelliJ 13.0.2.

I just want to change my default ../.ivy2/cache path.

I tried to change following ent

3条回答
  •  旧时难觅i
    2020-12-05 11:36

    The answer suggesting changing IDE settings essentially changed the file .idea/sbt.xml (if you made changes for the project), or C:\Users\***\.IdeaIC14\config\options\project.default.xml (if you made changes for the IDE default regardless which project).

    Therefore, you may consider putting this file in source control if you need to change it frequently. (In my case I had to switch between the Spark 1.4 and Spark 1.5 libraries, making this worthwhile.)

提交回复
热议问题