From b1f4115b473570158091e71e71568d462631b7ce Mon Sep 17 00:00:00 2001 From: Chris Sarbora Date: Wed, 8 Jul 2015 08:27:11 -0700 Subject: [PATCH] Prevent Maven target from grabbing transitive dependencies Dependencies of Maven targets will have to be managed manually. The prebuilt target that the Maven target is based off of wasn't designed to handle multiple artifacts per project. Additionally, this target is mainly intended for grabbing APKs or other standalone blobs, not for pulling in a full jar dependency tree. If that is your use case, you may want to investigate simply converting your project to Gradle (or the Maven build system, if you can stomach it). Change-Id: Iaf48c95c704cfdc85e0074394ff3c7464937e60c --- build/core/maven_artifact.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/core/maven_artifact.mk b/build/core/maven_artifact.mk index 2666b9c8..33353535 100644 --- a/build/core/maven_artifact.mk +++ b/build/core/maven_artifact.mk @@ -41,7 +41,8 @@ $(LOCAL_PREBUILT_MODULE_FILE): -DoutputDirectory=$(dir $@) \ -Dmdep.prependGroupId=true \ -Dmdep.overWriteSnapshots=true \ - -Dmdep.overWriteReleases=true + -Dmdep.overWriteReleases=true \ + -Dtransitive=false @echo -e ${CL_GRN}"Download:"${CL_RST}" $@" include $(BUILD_PREBUILT)