From e1dc6d5adb9c190c201c113dd3f7cb2f597acd5e Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Fri, 29 Jul 2016 13:35:37 -0700 Subject: [PATCH] Upgrade Closure Rules to v0.2.5 This CL fixes an issue preventing App Engine deploys in the open source world, because an old version of Soy had its Maven jars compiled for Java 1.8. Upgrading to the latest Closure Rules release fixes this. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128841077 --- WORKSPACE | 8 +++++--- java/google/registry/repositories.bzl | 12 ++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 6db5db595..3c309f7f1 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,10 +4,11 @@ load("//java/google/registry:repositories.bzl", "domain_registry_repositories") domain_registry_repositories() -git_repository( +http_archive( name = "io_bazel_rules_closure", - remote = "https://github.com/bazelbuild/rules_closure.git", - tag = "0.2.3", + sha256 = "8c8a0f7f1327178bc8654e658cb6fff1171936e3033c5e263d513a7901a75b31", + strip_prefix = "rules_closure-0.2.5", + url = "http://bazel-mirror.storage.googleapis.com/github.com/bazelbuild/rules_closure/archive/0.2.5.tar.gz", ) load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories") @@ -16,6 +17,7 @@ closure_repositories( omit_gson = True, omit_guava = True, omit_icu4j = True, + omit_json = True, omit_jsr305 = True, omit_jsr330_inject = True, omit_protobuf_java = True, diff --git a/java/google/registry/repositories.bzl b/java/google/registry/repositories.bzl index 94b6b6f5f..0c5fc6b6c 100644 --- a/java/google/registry/repositories.bzl +++ b/java/google/registry/repositories.bzl @@ -274,8 +274,8 @@ def domain_registry_repositories(): native.maven_jar( name = "gson", - artifact = "com.google.code.gson:gson:2.4", - sha1 = "0695b63d702f505b9b916e02272e3b6381bade7f", + artifact = "com.google.code.gson:gson:2.7", + sha1 = "751f548c85fa49f330cecbb1875893f971b33c4e", ) native.maven_jar( @@ -304,8 +304,8 @@ def domain_registry_repositories(): native.maven_jar( name = "icu4j", - artifact = "com.ibm.icu:icu4j:56.1", - sha1 = "8dd6671f52165a0419e6de5e1016400875a90fa9", + artifact = "com.ibm.icu:icu4j:57.1", + sha1 = "198ea005f41219f038f4291f0b0e9f3259730e92", ) native.maven_jar( @@ -388,8 +388,8 @@ def domain_registry_repositories(): native.maven_jar( name = "json", - artifact = "org.json:json:20090211", - sha1 = "c183aa3a2a6250293808bba12262c8920ce5a51c", + artifact = "org.json:json:20160212", + sha1 = "a742e3f85161835b95877478c5dd5b405cefaab9", ) native.maven_jar(