From da2e410eab1b7a6f22add26acb591d54f6f25e06 Mon Sep 17 00:00:00 2001 From: Dan Muller Date: Mon, 28 Oct 2019 21:41:43 -0600 Subject: [PATCH] fix: Add sha256 to maven jar for cli --- internal/openapi_generator.bzl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/openapi_generator.bzl b/internal/openapi_generator.bzl index d520978..78c6f90 100644 --- a/internal/openapi_generator.bzl +++ b/internal/openapi_generator.bzl @@ -1,8 +1,9 @@ # Copyright 2019 OpenAPI-Generator-Bazel Contributors -def openapi_tools_generator_bazel_repositories(openapi_generator_cli_version = "4.1.0", prefix = "openapi_tools_generator_bazel"): +def openapi_tools_generator_bazel_repositories(openapi_generator_cli_version = "4.1.3", sha256="234cbbc5ec9b56e4b585199ec387b5ad3aefb3eda9424c30d35c849dd5950d2f", prefix = "openapi_tools_generator_bazel"): native.maven_jar( - name = prefix + "_cli", + name = "openapi_tools_generator_bazel_cli", + sha256 = sha256, artifact = "org.openapitools:openapi-generator-cli:" + openapi_generator_cli_version, ) native.bind(