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.
Buck generates its output in the buck-out directory, so this is a good time to specify buck-out as something that should be ignored by your version control system. Now that Buck can locate your Android SDK, it is time to compile some kotlin code.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With