Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Stop using native maven_jar rule #96

Merged
merged 1 commit into from
Feb 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion appengine/java_appengine.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ APP_ID. If not specified, it uses the default APP_ID provided in the application
web.xml.
"""

load("@bazel_tools//tools/build_defs/repo:jvm.bzl", "jvm_maven_import_external")
load(":variables.bzl", "JAVA_SDK_VERSION", "JAVA_SDK_SHA256")
load(":sdk.bzl", "find_locally_or_download")

Expand Down Expand Up @@ -293,7 +294,10 @@ def java_appengine_repositories(version=JAVA_SDK_VERSION,
strip_prefix_pattern = "appengine-java-sdk-{version}",
)

native.maven_jar(
jvm_maven_import_external(
name = "javax_servlet_api",
artifact = "javax.servlet:servlet-api:2.5",
artifact_sha256 = "c658ea360a70faeeadb66fb3c90a702e4142a0ab7768f9ae9828678e0d9ad4dc",
server_urls = ["http://central.maven.org/maven2"],
licenses = ["reciprocal"] # CDDL License
)