Skip to content

Commit

Permalink
Merge pull request #307 from libp2p/1.0.0-hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashatyrev authored Aug 21, 2023
2 parents cebf411 + d883b63 commit e4e6b4c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libp2p/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@

plugins {
id("com.google.protobuf").version("0.9.2")
id("me.champeau.jmh").version("0.6.8")
}

// https://docs.gradle.org/current/userguide/java_testing.html#ex-disable-publishing-of-test-fixtures-variants
val javaComponent = components["java"] as AdhocComponentWithVariants
javaComponent.withVariantsFromConfiguration(configurations["testFixturesApiElements"]) { skip() }
javaComponent.withVariantsFromConfiguration(configurations["testFixturesRuntimeElements"]) { skip() }

dependencies {
api("io.netty:netty-common")
api("io.netty:netty-buffer")
Expand Down Expand Up @@ -45,4 +49,3 @@ protobuf {
}
}
}

0 comments on commit e4e6b4c

Please sign in to comment.