만사를 제쳐놓고 빌드 타임을 줄이기 위한 방법을 찾아봤는데,
3가지가 해법인 것 같다.
gradle daemon, parallel, large heap
mac이나 unix 라면 ~/.gradle,
윈도우라면 /Users/%user%/,gradle
아래에 다음과 같은 파일을 만든다.
This file contains hidden or 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
org.gradle.daemon=true | |
org.gradle.parallel=true |
그다음, android studio 에서
Settings / Build, Execution, Deployment / Build Tools / Compiler에서
Compile independent modules in parallel (may require larger heap size)
을 체크하고
Command-line Options에
--offline
을 추가한다.
잘못 잰게 맞는 것 같다. ㅜㅜ