0

For example I have two (A that generates apk, B that generates aar) fully configured projects (.buckconfig, .git and so on). What I need to do to make my project A depends on B? For example I want to be able to enter B project directory and type "buck build Bproject" to generate my aar. Also it would be great if there is some trick is available to make A -> (B -> C) dependency. Thanks!

seroperson
  • 123
  • 1
  • 7

1 Answers1

1

This feature is coming to Buck in the future (see issue #116 in the Github repository), however it is not supported yet. For now you will likely have to use a workaround, such as put both projects into the same repository or build the aar of project B, check it into the repository of project A and reference it from an android_prebuilt_aar rule.

k21
  • 259
  • 2
  • 7
  • Oh. It's pity. I am already gave it up in favor of my previous build system and hope that buck will be usable someday =) – seroperson Aug 29 '15 at 23:05
  • Is this still true? Or the feature is implemented. My project A is able to use ":src" and ":res" from project B if it doesn't depend on any C (otherwise error: Attribute *** has already been defined). – surlac May 03 '16 at 18:33