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
This commit is contained in:
Chris Sarbora 2015-07-08 08:27:11 -07:00
parent 71983e8a0a
commit b1f4115b47

View File

@ -41,7 +41,8 @@ $(LOCAL_PREBUILT_MODULE_FILE):
-DoutputDirectory=$(dir $@) \ -DoutputDirectory=$(dir $@) \
-Dmdep.prependGroupId=true \ -Dmdep.prependGroupId=true \
-Dmdep.overWriteSnapshots=true \ -Dmdep.overWriteSnapshots=true \
-Dmdep.overWriteReleases=true -Dmdep.overWriteReleases=true \
-Dtransitive=false
@echo -e ${CL_GRN}"Download:"${CL_RST}" $@" @echo -e ${CL_GRN}"Download:"${CL_RST}" $@"
include $(BUILD_PREBUILT) include $(BUILD_PREBUILT)