forked from lackerman/micronaut-bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
72 lines (65 loc) · 2.12 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
load("@rules_java//java:defs.bzl", "java_library", "java_plugin")
java_plugin(
name = "lombok_plugin",
processor_class = "lombok.launch.AnnotationProcessorHider$AnnotationProcessor",
deps = [
"@maven//:org_projectlombok_lombok",
],
)
java_library(
name = "lombok_lib",
exported_plugins = ["lombok_plugin"],
visibility = ["//visibility:public"],
exports = [
"@maven//:org_projectlombok_lombok",
],
)
java_plugin(
name = "typeelementvisitorprocessor",
processor_class = "io.micronaut.annotation.processing.TypeElementVisitorProcessor",
deps = [
"@maven//:io_micronaut_micronaut_aop",
"@maven//:io_micronaut_micronaut_inject",
"@maven//:io_micronaut_micronaut_inject_java",
"@maven//:io_micronaut_micronaut_validation",
],
)
java_plugin(
name = "beandefinitioninjectprocessor",
processor_class = "io.micronaut.annotation.processing.BeanDefinitionInjectProcessor",
deps = [
"@maven//:io_micronaut_micronaut_aop",
"@maven//:io_micronaut_micronaut_inject",
"@maven//:io_micronaut_micronaut_inject_java",
"@maven//:io_micronaut_micronaut_validation",
],
)
java_plugin(
name = "servicedescriptionprocessor",
processor_class = "io.micronaut.annotation.processing.ServiceDescriptionProcessor",
deps = [
"@maven//:io_micronaut_micronaut_aop",
"@maven//:io_micronaut_micronaut_inject",
"@maven//:io_micronaut_micronaut_inject_java",
"@maven//:io_micronaut_micronaut_validation",
],
)
java_library(
name = "micronaut_annotation_lib",
exported_plugins = [
"typeelementvisitorprocessor",
"beandefinitioninjectprocessor",
"servicedescriptionprocessor",
],
visibility = ["//visibility:public"],
exports = [
"@maven//:io_micronaut_micronaut_aop",
"@maven//:io_micronaut_micronaut_inject",
"@maven//:io_micronaut_micronaut_inject_java",
"@maven//:io_micronaut_micronaut_validation",
],
)
buildifier(
name = "buildifier",
)