facebook/infer

Optimize incremental builds for android/gradle

Ouverte

#532 ouverte le 8 déc. 2016

 (2 commentaires) (0 réaction) (0 personne assignée)HTML (1 688 forks)batch import
enhancementhelp wantedintegration

Métriques du dépôt

Stars
 (12 410 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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?

Guide contributeur