How to generate a coordinate file for a specific dependency in gradle?

119 views Asked by At

I am trying to generates the coordinate file for my project. The directory structure of my project is as follow.

enter image description here

My build.gradle contains "compile 'com.hierynomus:smbj:0.9.0'" dependency. I have navigated to the 'sourceDir' path and I am trying the following command to generate the coordinates file:

.\gradlew.bat getDependenciesCoordinates --coordinate com.hierynomus:smbj:0.9.0

After running this command I am getting the following error:

  • What went wrong: [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Problem configuring task :getDependenciesCoordinates from command line. [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Unknown command-line option '--coordinate'.

Can any one help me with this issue ?

0

There are 0 answers