Skip to content

Incompatible with Android plugin? #4

@wjwarren

Description

@wjwarren

Hey,

When I try to use a dependency with the android plugin applied, the build fails. It only fails when the dependency doesn't exist in the local Maven repo.

build.gradle snippet:

android {
    ...

    dependencies {
        compile('org.batcha:dummy-project-a:4.2').ext.git = 'https://github.com/bat-cha/dummy-java-project-a.git'
    }
}

gradle output:

FAILURE: Build failed with an exception.

What went wrong:
Could not resolve all dependencies for configuration ':compile'.
Could not find group:org.batcha, module:dummy-project-a, version:4.2.
...

I ran the build script with the --info and --stackTrace flags, but they didn't seem to provide any more information on where exactly things went wrong. I can post the output later if you want.

Cheers,

Wijnand

PS: My build script dependency is to the locally built git-dependencies-0.1.jar that has #3 fixed.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions