Skip to content

Commit abedade

Browse files
committed
Enable override attribute on Netty dependencies
In order to exclude Netty 4.1 outdated builtin metadata. Closes #9
1 parent 76a14df commit abedade

File tree

7 files changed

+59
-2
lines changed

7 files changed

+59
-2
lines changed

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ It should contain the following entries:
5959
]
6060
```
6161
`metadata-version` key specifies the subdirectory where metadata for tested versions "lives".
62+
`override` flag allows to express the intent to exclude outdated builtin metadata when set to `true`.
6263
So, the metadata for `org.example:library:0.0.1` and `org.example:library:0.0.2` is located at `metadata/org.example/library/0.0.1`.
6364

6465
Make sure that each supported version is listed in `tested-version`, as that value is used in build tools to match metadata to a specific library.
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"latest": true,
4+
"override": true,
5+
"metadata-version": "4.1.80.Final",
6+
"module": "io.netty:netty-buffer",
7+
"tested-versions": [
8+
"4.1.80.Final"
9+
]
10+
}
11+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"latest": true,
4+
"override": true,
5+
"metadata-version": "4.1.80.Final",
6+
"module": "io.netty:netty-codec-http",
7+
"tested-versions": [
8+
"4.1.80.Final"
9+
]
10+
}
11+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"latest": true,
4+
"override": true,
5+
"metadata-version": "4.1.80.Final",
6+
"module": "io.netty:netty-codec-http2",
7+
"tested-versions": [
8+
"4.1.80.Final"
9+
]
10+
}
11+
]
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"latest": true,
4+
"override": true,
5+
"metadata-version": "4.1.80.Final",
6+
"module": "io.netty:netty-handler",
7+
"tested-versions": [
8+
"4.1.80.Final"
9+
]
10+
}
11+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"latest": true,
4+
"override": true,
5+
"metadata-version": "4.1.80.Final",
6+
"module": "io.netty:netty-resolver-dns",
7+
"tested-versions": [
8+
"4.1.80.Final"
9+
]
10+
}
11+
]

metadata/io.netty/netty-transport/index.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
{
33
"latest": true,
44
"override": true,
5-
"metadata-version": "4.1.76.Final",
5+
"metadata-version": "4.1.80.Final",
66
"module": "io.netty:netty-transport",
77
"tested-versions": [
8-
"4.1.76.Final"
8+
"4.1.76.Final",
9+
"4.1.80.Final"
910
]
1011
}
1112
]

0 commit comments

Comments
 (0)