Skip to content

Bazel rules for building a gradle project using the gradle jar

License

Notifications You must be signed in to change notification settings

carolosf/rules_gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Bazel rules for building a gradle project using the gradle jar

Resources

License

Stars

Watchers

Forks

Packages

No packages published