mirror of https://github.com/sbt/sbt.git
Restore .sbtopts file
I noticed that the sbt project has gotten much slower to compile on my computer and that bumping the memory helped a lot. With 1GB, it seems to take about 60-70 seconds for a clean compile and with 2GB it takes between 35-40 seconds. Note that this will break sbt loading on windows using the batch script. This should be fixed in sbt 1.4.4: https://github.com/sbt/sbt-launcher-package/pull/344.
This commit is contained in:
parent
87d0972b03
commit
184c59d4c0
|
|
@ -116,6 +116,7 @@ for:
|
||||||
- SET PATH=C:\sbt\sbt\bin;%PATH%
|
- SET PATH=C:\sbt\sbt\bin;%PATH%
|
||||||
- SET JAVA_HOME=C:\jdk8
|
- SET JAVA_HOME=C:\jdk8
|
||||||
- gu install native-image
|
- gu install native-image
|
||||||
|
- rm .sbtopts
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- '%USERPROFILE%\.ivy2\cache'
|
- '%USERPROFILE%\.ivy2\cache'
|
||||||
|
|
@ -148,6 +149,7 @@ for:
|
||||||
}
|
}
|
||||||
- SET PATH=C:\sbt\sbt\bin;%PATH%
|
- SET PATH=C:\sbt\sbt\bin;%PATH%
|
||||||
- SET SBT_OPTS=-Xmx4g -Dsbt.supershell=never -Dfile.encoding=UTF8
|
- SET SBT_OPTS=-Xmx4g -Dsbt.supershell=never -Dfile.encoding=UTF8
|
||||||
|
- rm .sbtopts
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- '%USERPROFILE%\.ivy2\cache'
|
- '%USERPROFILE%\.ivy2\cache'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue