Gradle vs Hex
Gradle
gradle.orgHex
hex.pmSide by side
| Figure | Gradle | Hex |
|---|---|---|
| Price from | Free | $7.50/mo |
| Free plan | Yes | Yes |
| Free trial | — | Yes |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 5 |
| Spec score · Package Managers | 8.7 (#11) | 8.3 (#26) |
| Free plan | Yes | Yes |
| Security | Gradle includes dependency verification; the maker says open-source security fixes are limited by its end-of-life policy, while its Security Subscription offers prioritized fixes under SLA and extended maintenance. | Hex supports organization authentication keys for CI, and its About page directs security vulnerability reports to [email protected]. |
Plans
Hex
- Open SourceFree
- Private Packages$9 a month
- Open SourceFree
- Private Packages (annual)$90 a year
- EnterprisePriced on request
In their own words
Gradle
Gradle Build Tool is a free, open-source system for automating software builds across projects of different types and sizes. Build logic can use either Kotlin DSL or Groovy DSL. Incremental builds, caching and parallel task execution support the build process, while Gradle downloads and manages transitive dependencies from Maven- and Ivy-compatible repositories. The Gradle Wrapper can provision a build environment and specify the Gradle version used by a project. Its ecosystem covers JVM, Android, C/C++, Swift, Objective-C and assembler projects, and it runs on Windows, macOS and Linux. The Tooling API lets IDEs and other tools inspect projects, run builds, receive progress events and cancel operations. Listed support includes Android Studio and Ant, plus Checkstyle, CodeNarc, PMD and JaCoCo. Gradle includes dependency verification. The maker says open-source security fixes are limited by its end-of-life policy; its Security Subscription offers prioritized fixes under SLA and extended maintenance, but does not guarantee a clean scanner report when findings come from third-party libraries.
Hex
Hex is a package manager for the BEAM ecosystem, including Elixir and Erlang. Its services include an HTTP API, a website, a package and index repository, HexDocs, Mix integration, and other components. Packages work with Mix, Rebar, and erlang.mk, and the site provides usage guidance for Gleam. Developers can fetch dependencies without creating an account.
Organizations can publish and retrieve private packages and manage which users can access them. Free organizations can publish public dependency policies; paid organizations can make policies private and apply them to public and private packages. A private package can depend only on packages in its organization’s repository and the global hexpm repository. Documentation explains how to build and serve a repository on infrastructure an organization operates. Hex supports organization authentication keys for CI, and its source code is licensed under the Apache 2 License. The Open Source plan is free. Private Packages are listed at $9 / user / month, with an annual option at $90 / per user / per year. Enterprise pricing is by contacting sales. Hex lists API, self-hosted, and web platforms.