9

How do I use the Facebook Buck building tool with Android Studio?

The requirement is something like code in android studio but build through buck from command line.

A J
  • 3,684
  • 2
  • 19
  • 24
  • just for records, it's Uber's not FB's building tool – Ewoks Jan 17 '17 at 10:45
  • @Ewoks it's FB's only - https://buckbuild.com/ The one you are referencing is okbuck. – A J Jan 17 '17 at 10:58
  • my bad.. to clarify, OKBuck plugin (that simplify use buck build system with Android Studio and gradle) is from Uber.. – Ewoks Jan 17 '17 at 11:01

2 Answers2

4

While we haven't explicietly tested this, Android Studio is essentially a customized IntelliJ. You just need to setup the correct project_config rules, and then run buck project.

sdwilsh
  • 4,674
  • 1
  • 22
  • 20
3

Here is a gradle plugin OkBuck which can let you start using BUCK base on your current Android Studio + Gradle build system with only 10 lines of configuration. Check it out.

Piasy
  • 989
  • 13
  • 35