facebook/infer

Optimize incremental builds for android/gradle

開放

#532 建立於 2016年12月8日

 (2 則留言) (0 個反應) (0 位負責人)HTML (1,688 個分叉)batch import
enhancementhelp wantedintegration

倉庫指標

星標
 (12,410 顆星)
PR 合併指標
 (平均合併 2天 7小時) (30 天內合併 9 個 PR)

描述

We have lot of 'grandfathered' issues which we are fixing, below are the workflow we typically use


1. ./gradlew clean
2. infer --reactive -- ./gradlew --offline assembleDebug
3. Note down the issues and fix
4. infer --reactive --continue -- ./gradlew --offline assembleDebug

Above works fine, however step 4 seems to analyse the complete project even though only 1 file changed and it takes more time to analyse and report.

is there any flags or options which we can use to build only a file or two when using gradle, I'm aware its possible for normal java builds but how about gradle builds?

貢獻者指南