File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,14 @@ def java_export(
61
61
tags = tags ,
62
62
)
63
63
64
+ native .filegroup (
65
+ name = "%s-maven-module" % name ,
66
+ srcs = [
67
+ ":%s-module" % name ,
68
+ ],
69
+ output_group = "module_jar" ,
70
+ )
71
+
64
72
javadoc (
65
73
name = "%s-docs" % name ,
66
74
deps = [
@@ -79,7 +87,7 @@ def java_export(
79
87
coordinates = maven_coordinates ,
80
88
pom = "%s-pom" % name ,
81
89
javadocs = "%s-docs" % name ,
82
- artifact_jar = ":%s-maven-artifact " % name ,
90
+ artifact_jar = ":%s-maven-module " % name ,
83
91
source_jar = ":%s-maven-source" % name ,
84
92
visibility = visibility ,
85
93
)
Original file line number Diff line number Diff line change @@ -173,6 +173,11 @@ def _java_module_impl(ctx):
173
173
name = name ,
174
174
module_path = depset (direct = [module_jar ], transitive = [info .module_path for info in all_infos ]),
175
175
),
176
+ OutputGroupInfo (
177
+ module_jar = [module_jar ],
178
+ module_source = [src_jar ],
179
+ _source_jars = [src_jar ],
180
+ ),
176
181
java_info ,
177
182
]
178
183
You can’t perform that action at this time.
0 commit comments