vert-x3 / vertx-service-proxy

EventBus Proxy generation
Apache License 2.0
66 stars 58 forks source link

Gradle tests are not executed when adding compile "io.vertx:vertx-service-proxy:3.5.3:processor" to dependencies #78

Closed Nols1000 closed 5 years ago

Nols1000 commented 5 years ago

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:

  1. clone the repo https://github.com/Nols1000/vertx_codegen_processor_test
  2. run gradle clean test
slinkydeveloper commented 5 years ago

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"