We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cebf411 + d883b63 commit e4e6b4cCopy full SHA for e4e6b4c
libp2p/build.gradle.kts
@@ -1,9 +1,13 @@
1
-
2
plugins {
3
id("com.google.protobuf").version("0.9.2")
4
id("me.champeau.jmh").version("0.6.8")
5
}
6
+// https://docs.gradle.org/current/userguide/java_testing.html#ex-disable-publishing-of-test-fixtures-variants
7
+val javaComponent = components["java"] as AdhocComponentWithVariants
8
+javaComponent.withVariantsFromConfiguration(configurations["testFixturesApiElements"]) { skip() }
9
+javaComponent.withVariantsFromConfiguration(configurations["testFixturesRuntimeElements"]) { skip() }
10
+
11
dependencies {
12
api("io.netty:netty-common")
13
api("io.netty:netty-buffer")
@@ -45,4 +49,3 @@ protobuf {
45
49
46
50
47
51
48
0 commit comments