Our great sponsors
-
Pants allows you to override an artifact's URL: https://www.pantsbuild.org/docs/reference-jvm_artifact#codeurlcode
-
To meet you halfway via Maven/Gradle, there's a simple way of targeting a Github repo as a dependency: https://jitpack.io/
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Buck
Discontinued A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
Buck has a http_file() that you can use this way, and it has first-class support for Java.
-
Gradle also has https://github.com/michel-kraemer/gradle-download-task which still isn't exaclty what you want, but we're getting there...