| workspace(name = "task") |
| |
| load("//:bazlets.bzl", "load_bazlets") |
| |
| load_bazlets( |
| commit = "0ccc066431ad7e88a5cd9e06000ce677de1116ee", |
| #local_path = "/home/<user>/projects/bazlets", |
| ) |
| |
| # Polymer dependencies |
| load( |
| "@com_googlesource_gerrit_bazlets//:gerrit_polymer.bzl", |
| "gerrit_polymer", |
| ) |
| |
| gerrit_polymer() |
| |
| # Load closure compiler with transitive dependencies |
| load("@io_bazel_rules_closure//closure:repositories.bzl", "rules_closure_dependencies", "rules_closure_toolchains") |
| |
| rules_closure_dependencies() |
| |
| rules_closure_toolchains() |
| |
| # Load Gerrit npm_binary toolchain |
| load("@com_googlesource_gerrit_bazlets//tools:js.bzl", "GERRIT", "npm_binary") |
| |
| npm_binary( |
| name = "polymer-bundler", |
| repository = GERRIT, |
| ) |
| |
| npm_binary( |
| name = "crisper", |
| repository = GERRIT, |
| ) |
| |
| load("//tools/bzl:maven_jar.bzl", "maven_jar") |
| |
| AUTO_VALUE_VERSION = "1.7.4" |
| |
| maven_jar( |
| name = "auto-value", |
| artifact = "com.google.auto.value:auto-value:" + AUTO_VALUE_VERSION, |
| sha1 = "6b126cb218af768339e4d6e95a9b0ae41f74e73d", |
| ) |
| |
| maven_jar( |
| name = "auto-value-annotations", |
| artifact = "com.google.auto.value:auto-value-annotations:" + AUTO_VALUE_VERSION, |
| sha1 = "eff48ed53995db2dadf0456426cc1f8700136f86", |
| ) |
| |
| # Release Plugin API |
| load( |
| "@com_googlesource_gerrit_bazlets//:gerrit_api.bzl", |
| "gerrit_api", |
| ) |
| |
| # Snapshot Plugin API |
| #load( |
| # "@com_googlesource_gerrit_bazlets//:gerrit_api_maven_local.bzl", |
| # "gerrit_api_maven_local", |
| #) |
| |
| # Load release Plugin API |
| gerrit_api() |
| |
| # Load snapshot Plugin API |
| #gerrit_api_maven_local() |