GithubHelp home page GithubHelp logo

menny / bazel-leaf Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 4.0 4.06 MB

A Gradle plugin that builds modules using Bazel.

License: Apache License 2.0

Python 3.51% Java 96.49%
android bazel gradle gradle-plugin java

bazel-leaf's People

Contributors

menny avatar sean-kenny avatar spabeggs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bazel-leaf's Issues

Exception while running ./gradlew :app:assembleDebug

I am getting java.net.SocketTimeoutException while running the above command. Here's my terminal log

`71 actionable tasks: 71 executed

Publishing build scan...

A network error occurred.

If you require assistance with this problem, please report it to your Gradle Enterprise administrator and include the following information via copy/paste.


Gradle version: 4.5.1
Plugin version: 1.11
Request URL: https://real-gradle.spotify.net/in/4.5.1/1.11
Request ID: 1a7b9d9c-0a8f-4b78-9036-b4f64b7a5b01
Exception: java.net.SocketTimeoutException: connect timed out
----------`

Failed to download Bazel This could be a target path issue.

When I try to just open and sync your example project, I have error

I have Mac Os High Sierra and installed Bazel

Caused by: java.lang.RuntimeException: Failed to download Bazel to /Users/olegBorisenkov/.bazel-leaf/bazel-leaf-master/bazel! This could be a target path issue.
	at com.spotify.gradle.bazel.tasks.DownloadBazelTask.download(DownloadBazelTask.java:119)
	at com.spotify.gradle.bazel.BazelLeafPlugin.checkIsBazelBinaryValid(BazelLeafPlugin.java:234)
	at com.spotify.gradle.bazel.BazelLeafPlugin.apply(BazelLeafPlugin.java:98)
	at com.spotify.gradle.bazel.BazelLeafPlugin.apply(BazelLeafPlugin.java:50)

Caused by: java.net.ConnectException: Operation timed out (Connection timed out)

How to use Hatchej (non-Spotify employee)

Firstly, thanks for publishing this repo! It looks incredibly useful for some projects I'm working on.
When I complete importing the project, android studio can't find hatchej. I'm assuming hatchej isn't public yet, since I don't see the project on github. Are there plans to make it public? If not, would there be problems if I undid commit d3c0328?

Incomplete installation instructions?

I have tried to install bazel-leaf for a Gradle project I've been experimenting with, but with no success so far.

The module setup instructions mention adding the following line to one's build.gradle file to apply the bazel-leaf plugin:

apply plugin: "bazelleaf"

However it fails with the following message:

Plugin with id 'bazelleaf' not found.

which I believe happens because Gradle cannot determine from just this information where to find bazel-leaf on the Gradle Plugins Portal or anywhere else.

I've tried searching for bazel-leaf on the Gradle Plugins Portal with the search terms "bazel", "bazelleaf", "bazel-leaf" and "blaze", but I cannot find anything related.

Am I missing something here? ๐Ÿค”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.