Skip to content

Commit

Permalink
Fix vertx-http-client testLatestDeps Xlint errors (#5228)
Browse files Browse the repository at this point in the history
* Fix vertx-http-client testLatestDeps

* fix
  • Loading branch information
trask authored Jan 26, 2022
1 parent 25d914f commit 953fd10
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ muzzle {
dependencies {
library("io.vertx:vertx-core:3.0.0")

compileOnly("io.vertx:vertx-codegen:3.0.0")
testCompileOnly("io.vertx:vertx-codegen:3.0.0")
compileOnly("io.vertx:vertx-docgen:3.0.0")
testCompileOnly("io.vertx:vertx-docgen:3.0.0")
// vertx-codegen and vertx-docgen dependencies are needed for Xlint's annotation checking
library("io.vertx:vertx-codegen:3.0.0")
testLibrary("io.vertx:vertx-docgen:3.0.0")

compileOnly("com.google.auto.value:auto-value-annotations")
annotationProcessor("com.google.auto.value:auto-value")
Expand All @@ -32,6 +31,8 @@ dependencies {
// 3.9.7 Requires Netty 4.1.60, no other version works with it.
latestDepTestLibrary(enforcedPlatform("io.netty:netty-bom:4.1.60.Final"))
latestDepTestLibrary("io.vertx:vertx-core:3.+")
latestDepTestLibrary("io.vertx:vertx-codegen:3.+")
latestDepTestLibrary("io.vertx:vertx-docgen:3.+")
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ muzzle {
dependencies {
library("io.vertx:vertx-core:4.0.0")

compileOnly("io.vertx:vertx-codegen:4.0.0")
testCompileOnly("io.vertx:vertx-codegen:4.0.0")
// vertx-codegen dependency is needed for Xlint's annotation checking
library("io.vertx:vertx-codegen:4.0.0")

implementation(project(":instrumentation:vertx:vertx-http-client:vertx-http-client-common:javaagent"))

Expand Down

0 comments on commit 953fd10

Please sign in to comment.