Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Buck
Buck

16
36
+ 1
3
Gradle
Gradle

3.1K
2.2K
+ 1
243
Add tool

Buck vs Gradle: What are the differences?

What is Buck? A build system developed and used by Facebook. Buck encourages the creation of small, reusable modules consisting of code and resources, and supports a variety of languages on many platforms.

What is Gradle? A powerful build system for the JVM. Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites.

Buck and Gradle can be primarily classified as "Java Build" tools.

Some of the features offered by Buck are:

  • Speed up your Android builds. Buck builds independent artifacts in parallel to take advantage of multiple cores. Further, it reduces incremental build times by keeping track of unchanged modules so that the minimal set of modules is rebuilt.
  • Introduce ad-hoc build steps for building artifacts that are not supported out-of-the-box using the standard Ant build scripts for Android.
  • Keep the logic for generating build rules in the build system instead of requiring a separate system to generate build files.

On the other hand, Gradle provides the following key features:

  • Declarative builds and build-by-convention
  • Language for dependency based programming
  • Structure your build

Buck and Gradle are both open source tools. Gradle with 9.23K GitHub stars and 2.7K forks on GitHub appears to be more popular than Buck with 6.81K GitHub stars and 1.02K GitHub forks.

What is Buck?

Buck encourages the creation of small, reusable modules consisting of code and resources, and supports a variety of languages on many platforms.

What is Gradle?

Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Buck?
Why do developers choose Gradle?

Sign up to add, upvote and see more prosMake informed product decisions

Jobs that mention Buck and Gradle as a desired skillset
What companies use Buck?
What companies use Gradle?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Buck?
What tools integrate with Gradle?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Buck and Gradle?
Apache Maven
Maven allows a project to build using its project object model (POM) and a set of plugins that are shared by all projects using Maven, providing a uniform build system. Once you familiarize yourself with how one Maven project builds you automatically know how all Maven projects build saving you immense amounts of time when trying to navigate many projects.
CMake
It is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of the user's choice.
Sonatype Nexus
It is an open source repository that supports many artifact formats, including Docker, Javaβ„’ and npm. With the Nexus tool integration, pipelines in your toolchain can publish and retrieve versioned apps and their dependencies
Apache Ant
Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code.
Bazel
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.
See all alternatives
Decisions about Buck and Gradle
Gradle
Gradle
Apache Maven
Apache Maven

We use Apache Maven because it is a standard. Gradle is very good alternative, but Gradle doesn't provide any advantage for our project. Gradle is slower (without running daemon), need more resources and a learning curve is quite big. Our project can not use a great flexibility of Gradle. On the other hand, Maven is well-know tool integrated in many IDEs, Dockers and so on.

See more
Interest over time
Reviews of Buck and Gradle
No reviews found
How developers use Buck and Gradle
Avatar of Giovanni Candido da Silva
Giovanni Candido da Silva uses GradleGradle

The main build tool. Integrate and delegate build to NodeJS in the client application, and build the server, its used for development productivity and production optimisations and quality. Automate all machine scripts and build things from dev to continuous integration to production

Avatar of Cirrus Labs
Cirrus Labs uses GradleGradle

All 20+ micro-services that power Cirrus CI are living in a single mono repository. Gradle is using for testing and building Docker containers for all services.

Avatar of Kang Hyeon Ku
Kang Hyeon Ku uses GradleGradle

maven κ³Ό ν•¨κ»˜ μžλ°”μ˜ 유λͺ…ν•œ λΉŒλ“œ νˆ΄μ€‘ ν•˜λ‚˜μΈλ° μ†”μ§νžˆ κ·Έλƒ₯ ν…ŒμŠ€ν¬ λŸ¬λ„ˆλΌλŠ” 생각이 λ“ λ‹€. ssh ν”ŒλŸ¬κ·ΈμΈμ„ μ“°λ©΄ κ°„λ‹¨ν•œ λ°°ν¬λŠ” μ‰½κ²Œ μžλ™ν™” ν•  수 μžˆλ‹€. ssh ν”ŒλŸ¬κ·ΈμΈμ˜ 경우 μ„œλ²„ μ‹œμž‘ μ’…λ£Œ μ‰˜μ΄ 잘 μ•ˆλ˜λŠ” κ²½μš°κ°€ μžˆλŠ” 것 κ°™λ‹€.

Avatar of Refractal
Refractal uses GradleGradle

Gradle is used generally as our Android build tool, simplifying dependencies and general build process dramatically.

Avatar of claudiofus
claudiofus uses GradleGradle

Accelerate developer productivity. Gradle helps teams build, automate and deliver better software, faster.

How much does Buck cost?
How much does Gradle cost?
Pricing unavailable
Pricing unavailable
News about Buck
More news