com.google.inject.persist.BUILD Maven / Gradle / Ivy
The newest version!
# Copyright 2011 Google Inc. All rights reserved.
# Author: [email protected] (Sam Berlin)
load("@rules_java//java:defs.bzl", "java_library")
load("//:mvn.bzl", "gen_maven_artifact")
load(
"//:build_defs.bzl",
"JAVAC_OPTS",
"POM_VERSION",
)
package(
default_visibility = ["//:src"],
)
java_library(
name = "persist",
srcs = glob(["**/*.java"]),
javacopts = JAVAC_OPTS,
plugins = [
],
tags = ["maven_coordinates=com.google.inject.extensions:guice-persist:" + POM_VERSION],
deps = [
"//core/src/com/google/inject",
"//third_party/java/aopalliance",
"//third_party/java/guava/annotations",
"//third_party/java/guava/base",
"//third_party/java/guava/collect",
"//third_party/java/jakarta_inject",
"//third_party/java/jakarta_persistence",
"//third_party/java/jakarta_servlet_api",
],
)
filegroup(
name = "javadoc-srcs",
srcs = glob(["**/*.java"]),
)
gen_maven_artifact(
name = "artifact",
artifact_id = "guice-persist",
artifact_name = "Google Guice - Extensions - Persist",
artifact_target = ":persist",
is_extension = True,
javadoc_srcs = [
":javadoc-srcs",
],
)