Skip to content
This repository has been 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
chifflier opened this issue Apr 9, 2015 · 5 comments
Labels

Comments

@chifflier
Copy link

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

@joeykrim
Copy link

joeykrim commented May 1, 2015

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.

@rhodey rhodey added the bug label May 11, 2015
@rhodey
Copy link
Contributor

rhodey commented May 11, 2015

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.

@ghost
Copy link

ghost commented May 11, 2015

how do i exlude the nonplay ?

@patcon
Copy link

patcon commented Jul 8, 2015

@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

@patcon
Copy link

patcon commented Jul 8, 2015

Submitted a PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

4 participants