Gradle tests are not executed when adding compile "io.vertx:vertx-service-proxy:3.5.3:processor" to dependencies
Nols1000 opened this issue · 1 comments
Nols1000 commented
When following the documentation https://vertx.io/docs/vertx-service-proxy/java/#_code_generation and adding compile "io.vertx:vertx-service-proxy:3.5.3:processor"
to the dependencies the tests are skipped.
Gradle Log:
:clean
warning: No SupportedSourceVersion annotation found on io.vertx.serviceproxy.ServiceProxyProcessor, returning RELEASE_6.
warning: Supported source version 'RELEASE_6' from annotation processor 'io.vertx.serviceproxy.ServiceProxyProcessor' less than -source '1.8'
2 warnings
:compileJava
:processResources NO-SOURCE
:classes
:compileTestJava
:processTestResources NO-SOURCE
:testClasses
:test
:test NO-SOURCE
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 1s
3 actionable tasks: 3 executed
16:29:37: Tasks execution finished 'clean test'.
Reproduction:
- clone the repo https://github.com/Nols1000/vertx_codegen_processor_test
- run gradle clean test
slinkydeveloper commented
From Gradle 5 you need to add annotation processor dependencies using:
annotationProcessor "io.vertx:vertx-codegen:3.5.3:processor"
annotationProcessor "io.vertx:vertx-service-proxy:3.5.3"