Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 1.03 KB

README.md

File metadata and controls

22 lines (12 loc) · 1.03 KB

Rules Gradle

Bazel rules for building a gradle project using the gradle jar

Doesn't offer caching but at least this is compatible with all gradle projects and plugins and offers a way for developers to build gradle projects inside of a bazel mono repo.

For examples on how to use see:

Quarkus bazel gradle WORKSPACE file example

Quarkus bazel gradle BUILD file example

Simple gradle example - see above examples for clarity when using in your own project

Please not that you need to choose a different name for your BUILD file e.g. BUILD.bazel otherwise the gradle build directory clashes with the BUILD file.

If this is not the bazel way - please forgive me for my sins.

Pull requests are welcome.

It is possible to build quarkus projects using this but will create an example in a different repo to keep these rules simple, clean and general purpose.