Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

build failure: Could not find org.whispersystems.supplychain:libsupplychain:1.0 #94

Open

Description

@chifflier

Hi,

Build of current master (2015-04-09, ./gradlew build) branch fails with error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':flock'.
> Could not resolve all dependencies for configuration ':flock:_nonplayDebugCompile'.
   > Could not find org.whispersystems.supplychain:libsupplychain:1.0.

Where can I find this lib ? Or, is there any missing instruction on how to build ?

Thanks

Activity

  1. joeykrim commented on May 1, 2015

    @joeykrim

    Encountering the same issue when following the build instructions, which relies on the current master branch.

    The specific error line that references the missing dependency is line 59 of build.gradle

    As the dependency only seems required for the Non Google Play build, commenting out the nonplay references on line 19 and on lines 59 to 61 allows the Google Play version to build.

    Seems the libsupplychain dependency came in this commit b25ab2e on Feb 11th 2015, few months back.

  2. rhodey commented on May 11, 2015

    @rhodey
    Contributor

    the build instructions should be updated to exclude the nonplay build flavor from the process, thanks for the info and sorry this has been a issue for so long, when I first skimmed over this issue I had incorrectly assumed it was only a problem for people specifically trying the nonplay build.

  3. patcon commented on Jul 8, 2015

    @patcon

    @sudoaccess Ensure this exists at the top of flock/build.gradle:

    apply plugin: 'com.android.application'
    apply plugin: 'witness'
    
    android {
    
        variantFilter { variant ->
            if(variant.getFlavors().get(0).name.equals('nonplay')) {
                variant.setIgnore(true);
            }   
        }   
    
        compileSdkVersion 21
        buildToolsVersion '21.1.2'
    // snip
    
  4. patcon commented on Jul 8, 2015

    @patcon

    Submitted a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions