Skip to content

Commit 37bfdfd

Browse files
ponzianishu
and
shu
authored
OSGi import of javax.annotation and javax.annotation.meta is incorrect #4824 (#4825)
Co-authored-by: shu <[email protected]>
1 parent 65c855d commit 37bfdfd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

micrometer-commons/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jar {
1818
bnd '''\
1919
Import-Package: \
2020
org.aspectj.*;resolution:=dynamic,\
21+
javax.annotation.*;resolution:=optional;version="${@}",\
2122
*
2223
'''.stripIndent()
2324
}

micrometer-core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jar {
5858
rx.*;resolution:=dynamic;version="${@}",\
5959
javax.persistence.*;resolution:=dynamic;version="${@}",\
6060
io.netty.*;resolution:=dynamic;version="${@}",\
61+
javax.annotation.*;resolution:=optional;version="${@}",\
6162
*
6263
'''.stripIndent()
6364
}

0 commit comments

Comments
 (0)