Skip to content
This repository was archived by the owner on May 29, 2018. It is now read-only.
This repository was archived by the owner on May 29, 2018. It is now read-only.

Add product flavors support for Android-based project #62

@alexsaveliev

Description

@alexsaveliev

Anrdoid-based project may include product flavors (see http://developer.android.com/intl/en/tools/building/configuring-gradle.html).

srclib-java should support them somehow (currently it doesn't, sample repository - github.com/loopj/android-async-http which gives bad coverage because sample sub-module is not taken into account as we found no source files there).

  • probably we should generate N + 1 source units where N is a number of product flavors defined (plus common source files). If we can't - we should see if we can extract common source files and libraries and index them without taking into account flavored source files)
  • we should not mix source files of different product flavors because there may be clashes (the same class names)
  • I wonder if there may be case when artifact X depends on artifact Y which comes in few flavors. If yes, we should see if we can properly resolve definitions to point to specific unit/flavor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions