Converting from Maven to Gradle, need more specified dependencies in build.gradle or tests fail

Thank you @Francois_Ritaly!! I am new to gradle and would not have figured that out.

The gradle-jpi-plugin documentation gives a few examples with @jar notation for depenencies:

and does not mention anything about artifact-only notation. I will follow up with the gradle-jpi-plugin maintainer, but do you have any ideas as to why the artifact-only notation is used in the example and not explained in terms of not downloading all the dependencies?

I took a look inside the source code for gradle-jpi-plugin, and in a few places inside the plugin itself, it uses artifact-only notation for dependencies.

Thank you!!!